<style>
.layout {
  background: #f5f7f9;
  position: relative;
  border-radius: 4px;
  overflow: hidden;
}
.red-star {
  font-family: SimSun;
  color: #f00;
  margin-right: 4px;
}
.demo-spin-icon-load {
  animation: ani-demo-spin 1s linear infinite;
}

.demo-spin-col {
  height: 100px;
  position: relative;
}

.mb20 {
  margin-bottom: 20px;
}

.layout-logo {
  width: 110px;
  height: 30px;
  background: #5b6270;
  border-radius: 3px;
  float: left;
  position: relative;
  top: 15px;
  left: 20px;
}

.layout-nav {
  width: 420px;
  margin: 0 auto;
  margin-right: 20px;
}

.layout-footer-center {
  text-align: center;
}

.content {
  height: auto;
  background-color: white;
  padding-left: 30px;
  padding-right: 30px;
}

.items {
  height: 40px;
  line-height: 40px
}

.info {
  height: auto;
  background-color: #F8F8FF;
  padding-left: 70px;
  padding-right: 70px;
}

.header {
  height: 40px;
  background-color: white;
  line-height: 40px;
  border-bottom: 1px solid #598ED1;
}

.info-middle {
  height: 330px;
  background-color: #F8F8FF;
  padding-left: 30px;
  padding-right: 30px;
  padding-bottom: 15px;
}

.titles {
  height: 35px;
  background-color: black;
  line-height: 35px;
  font-size: 1rem;
  color: white;
  padding-left: 10px;
}

.nopadding .ivu-table-cell {
  padding: 0px 0px;
}

.head_btn {
  height: 45px;
  line-height: 45px;
  width: 130px;
  float: left;
  margin-right: 20px;
}

.subsidy-img {
  height: 140px;
  width: 120px;
  position: absolute;
  right: 8%;
  top: 11%;
}

.centerimg {
  text-align: center;
}

.pre_img_style {
  height: 500px;
  width: auto;
  max-width: 500px;
}

.ivu-input[disabled], fieldset[disabled] .ivu-input {
  background-color: white;
  opacity: 1;
  cursor: not-allowed;
  color: #515A6E;
}
</style>
<template>
  <Layout>
    <div class="layout">
      <div class="titles">办件信息</div>
      <div v-if="formItem.operation">
        <div class="head_btn" v-if="formItem.next_step">
          <Button type="primary" style="margin-right:10px" long @click="nextStep(false)">上一步</Button>
        </div>
        <div class="head_btn" v-if="formItem.next_step">
          <Button type="primary" style="margin-right:10px;background-color:#598ED1;border-color:#598ED1;" long
                  @click="saveOrder">保 存
          </Button>
        </div>
        <div class="head_btn" v-if="!formItem.next_step">
          <Button type="primary" style="margin-right:10px" :loading="loading" long @click="nextStep(true)">下一步</Button>
        </div>
        <div class="head_btn" v-if="form_url">
          <Button type="error" style="margin-right:10px;background-color:#79A0D1;border-color:#79A0D1;" long
                  @click="downloadPdf">下载PDF
          </Button>
        </div>
      </div>
<!--      <div class="head_btn">-->
<!--        <Button type="error" style="margin-right:10px;background-color:#235CA7;border-color:#235CA7;" long-->
<!--                @click="backOrder">返 回-->
<!--        </Button>-->
      </div>
    </div>
    <Content class="content">
      <div class="header" v-show="!formItem.operation || !formItem.next_step">
        <span style="font-size: 20px;color: #598ED1 ;">01 事项信息</span>
      </div>
      <div class="info" v-show="!formItem.operation || !formItem.next_step">
        <div class="items">
          <div style="width:40%;float:left">
            <span>事项名称：</span><span>{{ itemData.title }}</span>
          </div>
          <div style="width:50%;float:left">
            <span>事项编码：</span><span>{{ itemData.item_id }}</span>
          </div>
        </div>
        <div class="items">
          <div style="width:40%;float:left">
            <span>联系电话：</span><span>{{ itemData.LINK_TEL }}</span>
          </div>
          <div style="width:25%;float:left">
            <span>承诺期限：</span><span>{{ itemData.PROMISE_DAY == -1 ? '即办件' : itemData.PROMISE_DAY + '个工作日' }}</span>
          </div>
          <div style="width:35%;float:left">
            <span>办理时间：</span><span>{{ itemData.ACCEPT_TIME }}</span>
          </div>
        </div>
        <div class="items">
          <div style="width:40%;float:left">
            <span>所属部门：</span><span>{{ itemData.jdjg }}</span>
          </div>
          <div style="width:25%;;float:left">
            <span>是否收费：</span><span>{{ itemData.CHARGE_FLAG == '0' ? '不收费' : '收费' }}</span>
          </div>
          <div style="width:35%;;float:left">
            <span>网上办理：</span><span>{{ itemData.is_wsbl == '1' ? '可以' : '不可以' }}</span>
          </div>
        </div>
        <div class="items">
          <div style="width:100%;float:left">
            <span>受理条件：</span><span>{{ itemData.APPLY_CONDITION }}</span>
          </div>
        </div>
        <div class="items">
          <div style="width:100%;float:left">
            <span>补充说明：</span><span>{{ itemData.SXSM }}</span>
          </div>
        </div>
        <div style="clear:both;height:1px;width:100%; overflow:hidden; margin-top:-1px;"></div>
      </div>
      <div class="header" v-show="!formItem.operation || !formItem.next_step">
        <span style="font-size: 20px;color: #598ED1 ;">02 办件信息</span>
      </div>
      <div class="info-middle" v-show="!formItem.operation || !formItem.next_step">
        <div style="width:50%;float:left">
          <Form ref="personinfo" :model="personinfo" :label-width="110" style="margin-top:10px">
            <FormItem label="申请人类型: ">
              <RadioGroup v-model="formItem.radio">
                <Radio label="male">个人</Radio>
              </RadioGroup>
            </FormItem>
            <FormItem label="证件类型: " prop="type">
              <Input v-model="personinfo.type" disabled="disabled"></Input>
            </FormItem>
            <FormItem label="证件编号: " prop="code">
              <Input v-model="personinfo.cardno" disabled="disabled"></Input>
            </FormItem>
            <FormItem label="民族: ">
              <Input v-model="personinfo.folk" disabled="disabled"></Input>
            </FormItem>
            <FormItem label="地址: ">
              <Input v-model="personinfo.address" disabled="disabled"></Input>
            </FormItem>
          </Form>
        </div>
        <div style="width:50%;float:left">
          <Form ref="personinfo" :model="personinfo" :label-width="100" style="margin-top:10px">
            <FormItem label="申请人: " prop="name">
              <Input v-model="personinfo.name" disabled="disabled"></Input>
            </FormItem>
            <FormItem label="联系电话: ">
              <Input v-model="personinfo.mobile" disabled="disabled"></Input>
            </FormItem>
            <FormItem label="性别: ">
              <Input v-model="personinfo.sex" disabled="disabled"></Input>
            </FormItem>
            <FormItem label="生日: ">
              <Input v-model="personinfo.birthday" disabled="disabled"> </Input>
            </FormItem>
            <FormItem label="政治面貌: ">
              <Input v-model="personinfo.political_outlook" disabled="disabled"></Input>
            </FormItem>
          </Form>
        </div>
      </div>
      <div class="header" v-show="!formItem.operation || formItem.next_step">
        <span style="font-size: 20px;color: #598ED1 ;">03 申报材料</span>
      </div>
      <div style="height: auto; background-color: #F8F8FF;" v-show="!formItem.operation || formItem.next_step">
        <Table v-if="!formItem.reloadTabel" border :columns="columns7" :data="documentlist">
          <template slot-scope="{ row, index }" slot="necessary_name">
            <span v-if="row.necessary == '1'" style="color: red">必填</span>
            <span v-if="row.necessary == '0'">非必填</span>
          </template>
        </Table>
      </div>
    </Content>

    <Modal v-model="face_mol" title="拍照" @on-visible-change="modalChange" width="700">
      <face-camera :isPlay="face_shows" :extraData="upPicData" :file-path="filePath"
                   :file-name="fileName" @img-result="imgResult"></face-camera>
      <div slot="footer">
        <Button type="error" @click="face_mol=false">关闭</Button>
      </div>
    </Modal>
    <Modal v-model="gpy_mol" title="高拍仪" @on-visible-change="modalChange2" @on-cancel="closeHeight"
           @on-ok="closeHeight">
      <height-camera :isOpen="gpy_shows" :file-path="filePath"
                     :file-name="fileName" :extraData="upPicData" @ret-fun="retFun"></height-camera>
    </Modal>
    <Modal
      v-model="mshow"
      title="高拍仪"
      @on-visible-change="modalChange3" @on-cancel="closeHeight1" @on-ok="closeHeight1">
      <wl-equipment
        :file-path="filePath"
        :file-name="fileName"
        v-model="obj"
        :type="type"
        :is-open="openNow"
        user_idcard="cardId"
        ref="wlEquipment"
        @get_info="imgResult"
        @change="geyImgUrl"
        @change1="change1"
      ></wl-equipment>
    </Modal>
    <Modal v-model="up_pic_mol" title="图片上传" @on-ok="changeToView" :closable="false">
      <Upload multiple action="http://120.27.63.37:38081/api/ac/file/fileCommonService/upLoadFiles"
              :before-upload="beforeUpload">
        <Button icon="ios-cloud-upload-outline">上传图片</Button>
        <span style="margin-left: 250px">请上传小于8M的图片</span>
      </Upload>
      <img :src="temp_photo" style="width: 100%"/>
    </Modal>
    <!-- 图片查看模态框 -->
    <Modal v-model="picPreviewMol.preShow" :closable="false" :styles="{top: '20px'}" width="532">
      <Carousel v-model="picPreviewMol.picIndex" style="width:500px" dots="outside" trigger="hover">
        <CarouselItem class="centerimg" v-for="(imginfo, index) in picPreviewMol.pic_urls" :key="index">
          <img :id="printNum(index)" :src="imginfo" class="pre_img_style"/>
        </CarouselItem>
      </Carousel>
      <div slot="footer" style="text-align: center">
        <div v-if="printShow">
          <Button type="info" @click="originalGraph">查看原图</Button>
          <Button type="error" v-if="formItem.operation" @click="deletePic">删除当前照片</Button>
          <Button @click="picPreviewMol.preShow=false">关闭</Button>
          <Button type="success" v-print="tempIndex" @click="printClick()">打印</Button>
        </div>
      </div>
    </Modal>
    <!-- 居住证明表单 -->
    <Modal v-model="formItem.communityProveShow" :title="formItem.itemInfoFormTitle" width="700" :closable="false">
      <!-- <WlForm :data="formdata111" :value="formdata111" ref="generateForm"></WlForm> -->
      <Form label-position="right" :label-width="100">
        <Row class="mb20">
          <Col span="7" class="ivu-form-item-label">持证者：</Col>
          <Col span="12" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.holder"></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="7" class="ivu-form-item-label">性别：</Col>
          <Col span="12" class="ivu-form-item-content">
            <RadioGroup v-model="formItem.itemInfoForm.xb">
              <Radio label="男"></Radio>
              <Radio label="女"></Radio>
            </RadioGroup>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="7" class="ivu-form-item-label">证件号码：</Col>
          <Col span="12" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.holder_code"></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="7" class="ivu-form-item-label">主送机关：</Col>
          <Col span="12">
            <Input v-model="formItem.itemInfoForm.sxzm"></Input>
          </Col>
          <Col span="4" class="ivu-form-item-label">
            <span v-if="itemData.item_id == '11210101000000WJJD5212000268000'" style="color:red;text-center:left">填写:XX社区</span>
            <span v-else style="color:red;text-center:left">填写:XX房产局</span>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="7" class="ivu-form-item-label">现住址：</Col>
          <Col span="12">
            <Input type="textarea" v-model="formItem.itemInfoForm.xzz" :autosize="{minRows: 2, maxRows: 4}"></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="7" class="ivu-form-item-label">其他情况：</Col>
          <Col span="12">
            <Input type="textarea" v-model="formItem.itemInfoForm.qtqk" :autosize="{minRows: 3, maxRows: 6}"></Input>
          </Col>
        </Row>
      </Form>
      <div slot="footer">
        <Button type="success" @click="saveJzInfo(true)">确定</Button>
        <Button type="error" @click="formItem.communityProveShow=false">关闭</Button>
      </div>
    </Modal>
    <!--残疾人补贴模态框-->
    <Modal v-model="formItem.subsidyFormShow" :title="formItem.itemInfoFormTitle" width="1200" :closable="false"
           :mask-closable="false">
      <Form label-position="right" :label-width="100" style="position: relative;">
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">姓名：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.name"></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">性别：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Select v-model="formItem.itemInfoForm.sex">
              <Option value="男">男</Option>
              <Option value="女">女</Option>
            </Select>
          </Col>
          <Col span="3" class="ivu-form-item-label">年龄：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.age"></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">身份证：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.cardno"></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">联系电话：</Col>
          <Col span="5">
            <Input v-model="formItem.itemInfoForm.phone"></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">月工资：</Col>
          <Col span="5">
            <Input v-model="formItem.itemInfoForm.month_money"></Input>
          </Col>

        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">残疾人证号：</Col>
          <Col span="5">
            <Input v-model="formItem.itemInfoForm.disable_ID_No"></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">残疾类别：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.disabled_categories"></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">等级：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.level"></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">监护人：</Col>
          <Col span="5">
            <Input v-model="formItem.itemInfoForm.guardian"></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">监护人联系电话：</Col>
          <Col span="5">
            <Input v-model="formItem.itemInfoForm.guardian_phone"></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label"><span class="red-star">*</span>发证时间：</Col>
          <Col span="5">
            <DatePicker type="date" placeholder="发证时间" v-model="formItem.itemInfoForm.issuing_time"
                        style="width: 242px"></DatePicker>
            <!-- <Input v-model="formItem.itemInfoForm.issuing_time" placeholder="发证时间"></Input>-->
            <span>必填 格式：例如2018-01-01</span>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">社区(村)：</Col>
          <Col span="5">
            <Input v-model="formItem.itemInfoForm.street"></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">户籍地址：</Col>
          <Col span="13">
            <Input v-model="formItem.itemInfoForm.address"></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">申请时间：</Col>
          <Col span="5">
            <Input v-model="formItem.itemInfoForm.apply_date"></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label"><span class="red-star">*</span>银行：</Col>
          <Col span="5">
            <Input v-model="formItem.itemInfoForm.bank_name"></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label"><span class="red-star">*</span>银行账户名：</Col>
          <Col span="5">
            <Input v-model="formItem.itemInfoForm.bank_peoplename"></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label"><span class="red-star">*</span>银行卡号：</Col>
          <Col span="5">
            <Input v-model="formItem.itemInfoForm.bank_cardno"></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">补贴对象：</Col>
          <Col span="2" style="margin-top: 7px" v-if="itemData.item_id == '11210101000000MZJD5212000207000'">低保残疾人</Col>
          <Col span="3" style="margin-top: 7px" v-if="itemData.item_id == '11210101000000MZJD5212000207000'">低保边缘残疾人
          </Col>
          <Col span="5" style="margin-top: 7px" v-if="itemData.item_id == '11210101000000MZJD5212000216000'">重度残疾人</Col>
          <Col span="3" class="ivu-form-item-label">补贴类型：</Col>
          <Col span="5" style="margin-top: 7px" v-if="itemData.item_id == '11210101000000MZJD5212000207000'">生活补贴</Col>
          <Col span="5" style="margin-top: 7px" v-if="itemData.item_id == '11210101000000MZJD5212000216000'">护理补贴</Col>
          <Col span="3" class="ivu-form-item-label" v-if="itemData.item_id == '11210101000000MZJD5212000207000'">
            生活补贴申请资金：
          </Col>
          <Col span="2" style="margin-top: 7px" v-if="itemData.item_id == '11210101000000MZJD5212000207000'">¥100</Col>
          <Col span="3" class="ivu-form-item-label" v-if="itemData.item_id == '11210101000000MZJD5212000216000'">
            护理补贴申请资金：
          </Col>
          <Col span="2" style="margin-top: 7px" v-if="itemData.item_id == '11210101000000MZJD5212000216000'">¥80</Col>
        </Row>
      </Form>
      <div slot="footer">
        <Button type="success" @click="saveInfo(true)">确定</Button>
        <!--        <Button type="error" @click="formItem.subsidyFormShow=false">关闭</Button>-->
      </div>
    </Modal>
    <!--入园残疾儿童，小学、初中、高中（中专）残疾学生模态框-->
    <Modal v-model="formItem.studentFormShow1" :title="formItem.itemInfoFormTitle" width="1000" :closable="false">
      <Form label-position="right" :label-width="100" style="position: relative;">
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">姓名：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aac003" disabled></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">身份证：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aac002" disabled></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">性别：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Select v-model="formItem.itemInfoForm.aac004" disabled>
              <Option v-for="item in selectList.sexList" :value="item.value" v-bind:key="item.value">{{ item.label }}
              </Option>
            </Select>
          </Col>
          <Col span="3" class="ivu-form-item-label">出生日期：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aac006" disabled></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">年龄：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.age" disabled></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">申请金额：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aec01d" disabled/>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">所在地区：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aaa121" disabled></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">所在地区码：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aaa120" disabled></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">固定电话</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aac01c"></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">户籍地址：</Col>
          <Col span="13">
            <Input v-model="formItem.itemInfoForm.aac019" disabled></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">移动电话：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aac01d"></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">现住址：</Col>
          <Col span="13">
            <Input v-model="formItem.itemInfoForm.aac01a"></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">残疾类别：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Select v-model="formItem.itemInfoForm.adc013" disabled>
              <Option v-for="item in selectList.disabilityCategoryList" :value="item.value" v-bind:key="item.value">
                {{ item.label }}
              </Option>
            </Select>
          </Col>
          <Col span="3" class="ivu-form-item-label">残疾等级：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Select v-model="formItem.itemInfoForm.adc015" disabled>
              <Option v-for="item in selectList.disabilityLevelList" :value="item.value" v-bind:key="item.value">
                {{ item.label }}
              </Option>
            </Select>
          </Col>
          <Col span="3" class="ivu-form-item-label">残疾人证号：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.adc016" disabled></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">联系人：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.adc01a"></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">联系人固定电话：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.adc01d"></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">联系人移动电话：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.adc01e"></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">就学阶段：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Select v-model="formItem.itemInfoForm.aec011">
              <Option v-for="item in selectList.schoolStageList" :value="item.value" v-bind:key="item.value">
                {{ item.label }}
              </Option>
            </Select>
          </Col>
          <Col span="3" class="ivu-form-item-label">就读学校(幼儿园)：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aec012"></Input>
          </Col>

          <Col span="3" class="ivu-form-item-label">就学形式：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Select v-model="formItem.itemInfoForm.aec013">
              <Option v-for="item in selectList.learningStyleList" :value="item.value" v-bind:key="item.value">
                {{ item.label }}
              </Option>
            </Select>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">就学年级：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aec014"></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">申请年度：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aec01b"></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">申请日期：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aec01c"></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">银行：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aac081"></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">银行账户名：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aac082"></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">银行卡号：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aac083"></Input>
          </Col>
        </Row>
      </Form>
      <div slot="footer">
        <Button type="success" @click="saveStudentInfo(true)">确定</Button>
        <Button type="error" @click="formItem.studentFormShow1=false">关闭</Button>
      </div>
      <img :src="nophoto" alt="..." class="subsidy-img" style="margin-top: -20px;">
    </Modal>
    <!--残疾人大学生助学金模态框-->
    <Modal v-model="formItem.studentFormShow2" :title="formItem.itemInfoFormTitle" width="1000" :closable="false">
      <Form label-position="right" :label-width="100" style="position: relative;">
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">姓名：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aac003" disabled></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">身份证：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aac002" disabled></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">性别：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Select v-model="formItem.itemInfoForm.aac004" disabled>
              <Option v-for="item in selectList.sexList" :value="item.value" v-bind:key="item.value">{{ item.label }}
              </Option>
            </Select>
          </Col>
          <Col span="3" class="ivu-form-item-label">出生日期：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aac006" disabled></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">年龄：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.age" disabled></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">申请金额：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aec01d" disabled/>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">所在地区：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aaa121" disabled/>
          </Col>
          <Col span="3" class="ivu-form-item-label">户籍地址：</Col>
          <Col span="13">
            <Input v-model="formItem.itemInfoForm.aac019" disabled/>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">所在地区码：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aaa120" disabled/>
          </Col>
          <Col span="3" class="ivu-form-item-label">现住址：</Col>
          <Col span="13">
            <Input v-model="formItem.itemInfoForm.aac01a"></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">学生残疾类别：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Select v-model="formItem.itemInfoForm.adc013" disabled>
              <Option v-for="item in selectList.disabilityCategoryList" :value="item.value" v-bind:key="item.value">
                {{ item.label }}
              </Option>
            </Select>
          </Col>
          <Col span="3" class="ivu-form-item-label">学生残疾等级：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Select v-model="formItem.itemInfoForm.adc015" disabled>
              <Option v-for="item in selectList.disabilityLevelList" :value="item.value" v-bind:key="item.value">
                {{ item.label }}
              </Option>
            </Select>
          </Col>
          <Col span="3" class="ivu-form-item-label">学生残疾证号：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.adc016" disabled></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">移动电话：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aac01d"></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">就读学校：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aec012"></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">就学年级：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aec014"></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">申请年度：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aec01b"></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">申请日期：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aec01c"></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">资助对象类型：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Select v-model="formItem.itemInfoForm.aec01z" disabled>
              <Option v-for="item in selectList.fundingTypeList" :value="item.value" v-bind:key="item.value">
                {{ item.label }}
              </Option>
            </Select>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">银行：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aac081"></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">银行账户名：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aac082"></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">银行卡号：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aac083"></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">申请理由：</Col>
          <Col span="21">
            <Input type="textarea" v-model="formItem.itemInfoForm.aec117"></Input>
          </Col>
        </Row>
      </Form>
      <div slot="footer">
        <Button type="success" @click="saveStudentInfo(true)">确定</Button>
        <Button type="error" @click="formItem.studentFormShow2=false">关闭</Button>
      </div>
      <img :src="nophoto" alt="..." class="subsidy-img" style="margin-top: -20px;">
    </Modal>
    <!--低保（边）残疾人家庭大学生模态框-->
    <Modal v-model="formItem.studentFormShow3" :title="formItem.itemInfoFormTitle" width="1000" :closable="false">
      <Form label-position="right" :label-width="100" style="position: relative;">
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">姓名：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aac003" disabled/>
          </Col>
          <Col span="3" class="ivu-form-item-label">身份证：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aac002" disabled/>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">性别：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Select v-model="formItem.itemInfoForm.aac004" disabled>
              <Option v-for="item in selectList.sexList" :value="item.value" v-bind:key="item.value">{{ item.label }}
              </Option>
            </Select>
          </Col>
          <Col span="3" class="ivu-form-item-label">出生日期：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aac006" disabled></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">年龄：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.age" disabled/>
          </Col>
          <Col span="3" class="ivu-form-item-label">申请金额：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aec01d" disabled/>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">区县：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Select v-model="formDate.qxId" @on-change="bb">
              <Option v-for="item in sectionList" :value="item.id" :key="item.id">{{ item.title }}</Option>
            </Select>
          </Col>
          <Col span="3" class="ivu-form-item-label">街道：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Select v-model="formDate.jdId" @on-change="cc">
              <Option v-for="item in sectionListb" :value="item.id" :key="item.id">{{ item.title }}</Option>
            </Select>
          </Col>
          <Col span="3" class="ivu-form-item-label">社区：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Select v-model="formDate.company_code" @on-change="getValidateRulesCode()">
              <Option v-for="item in sectionListc" :value="item.company_code" :key="item.id">{{ item.title }}</Option>
            </Select>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">所在地区：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aaa121"></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">户籍地址：</Col>
          <Col span="13">
            <Input v-model="formItem.itemInfoForm.aac019" disabled/>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">所在地区码：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aaa120" disabled/>
          </Col>
          <Col span="3" class="ivu-form-item-label">现住址：</Col>
          <Col span="13">
            <Input v-model="formItem.itemInfoForm.aac01a"></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">移动电话：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aac01d"></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">就读学校：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aec012"></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">就学年级：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aec014"></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">家长姓名：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aac003a" disabled/>
          </Col>
          <Col span="3" class="ivu-form-item-label">家长性别：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Select v-model="formItem.itemInfoForm.aac004a" disabled>
              <Option v-for="item in selectList.sexList" :value="item.value" v-bind:key="item.value">{{ item.label }}
              </Option>
            </Select>
          </Col>
          <Col span="3" class="ivu-form-item-label">家长身份证：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aac002a" disabled/>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">家长年龄：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.agea" disabled/>
          </Col>
          <Col span="3" class="ivu-form-item-label">家长电话：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aac01da"></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">家长残疾证号：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.adc016a" disabled/>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">申请年度：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aec01b"></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">申请日期：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aec01c"></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">资助对象类型：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Select v-model="formItem.itemInfoForm.aec01z" disabled>
              <Option v-for="item in selectList.fundingTypeList" :value="item.value" v-bind:key="item.value">
                {{ item.label }}
              </Option>
            </Select>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">银行：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aac081"></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">银行账户名：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aac082"></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">银行卡号：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aac083"></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">家庭经济状况：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Select v-model="formItem.itemInfoForm.aec111">
              <Option value="1">低保</Option>
              <Option value="2">低保边缘</Option>
            </Select>
          </Col>
          <Col span="3" class="ivu-form-item-label">低保号低保边缘号：</Col>
          <Col span="13">
            <Input v-model="formItem.itemInfoForm.aec112"></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">申请理由：</Col>
          <Col span="21">
            <Input type="textarea" v-model="formItem.itemInfoForm.aec117"></Input>
          </Col>
        </Row>
      </Form>
      <div slot="footer">
        <Button type="success" @click="saveStudentInfo(true)">确定</Button>
        <Button type="error" @click="formItem.studentFormShow3=false">关闭</Button>
      </div>
      <img :src="nophoto" alt="..." class="subsidy-img" style="margin-top: -24px;">
    </Modal>
    <!--特殊原因造成家庭经济困难残疾人家庭大学生模态框-->
    <Modal v-model="formItem.studentFormShow4" :title="formItem.itemInfoFormTitle" width="1000" :closable="false">
      <Form label-position="right" :label-width="100" style="position: relative;">
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">姓名：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aac003" disabled></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">身份证：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aac002" disabled></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">性别：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Select v-model="formItem.itemInfoForm.aac004" disabled>
              <Option v-for="item in selectList.sexList" :value="item.value" v-bind:key="item.value">{{ item.label }}
              </Option>
            </Select>
          </Col>
          <Col span="3" class="ivu-form-item-label">出生日期：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aac006" disabled></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">年龄：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.age" disabled></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">申请金额：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aec01d" disabled/>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">区县：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Select v-model="formDate.qxId" @on-change="bb">
              <Option v-for="item in sectionList" :value="item.id" :key="item.id">{{ item.title }}</Option>
            </Select>
          </Col>
          <Col span="3" class="ivu-form-item-label">街道：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Select v-model="formDate.jdId" @on-change="cc">
              <Option v-for="item in sectionListb" :value="item.id" :key="item.id">{{ item.title }}</Option>
            </Select>
          </Col>
          <Col span="3" class="ivu-form-item-label">社区：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Select v-model="formDate.company_code" @on-change="getValidateRulesCode()">
              <Option v-for="item in sectionListc" :value="item.company_code" :key="item.id">{{ item.title }}</Option>
            </Select>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">所在地区：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aaa121" disabled/>
          </Col>
          <Col span="3" class="ivu-form-item-label">户籍地址：</Col>
          <Col span="13">
            <Input v-model="formItem.itemInfoForm.aac019" disabled/>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">所在地区码：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aaa120" disabled/>
          </Col>
          <Col span="3" class="ivu-form-item-label">现住址：</Col>
          <Col span="13">
            <Input v-model="formItem.itemInfoForm.aac01a"/>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">移动电话：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aac01d"></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">就读学校：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aec012"></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">就学年级：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aec014"></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">家长姓名：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aac003a" disabled></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">家长性别：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Select v-model="formItem.itemInfoForm.aac004a" disabled>
              <Option v-for="item in selectList.sexList" :value="item.value" v-bind:key="item.value">{{ item.label }}
              </Option>
            </Select>
          </Col>
          <Col span="3" class="ivu-form-item-label">家长身份证：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aac002a" disabled/>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">家长年龄：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.agea" disabled></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">家长电话：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aac01da"></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">家长残疾证号：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.adc016a" disabled></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">申请年度：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aec01b"></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">申请日期：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aec01c"></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">资助对象类型：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Select v-model="formItem.itemInfoForm.aec01z" disabled>
              <Option v-for="item in selectList.fundingTypeList" :value="item.value" v-bind:key="item.value">
                {{ item.label }}
              </Option>
            </Select>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">银行：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aac081" @keyup.enter="get"></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">银行账户名：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aac082"></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">银行卡号：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aac083"></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">家庭经济状况：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Select v-model="formItem.itemInfoForm.aec111" disabled>
              <Option value="3">特殊困难</Option>
            </Select>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">申请理由：</Col>
          <Col span="21">
            <Input type="textarea" v-model="formItem.itemInfoForm.aec117"></Input>
          </Col>
        </Row>
      </Form>
      <div slot="footer">
        <Button type="success" @click="saveStudentInfo(true)">确定</Button>
        <Button type="error" @click="formItem.studentFormShow4=false">关闭</Button>
      </div>
      <img :src="nophoto" alt="..." class="subsidy-img" style="margin-top: -24px">
    </Modal>
    <!--成人教育取得毕业证残疾人模态框-->
    <Modal v-model="formItem.studentFormShow5" :title="formItem.itemInfoFormTitle" width="1000" :closable="false">
      <Form label-position="right" :label-width="100" style="position: relative;">
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">姓名：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aac003" disabled></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">身份证：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aac002" disabled></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">性别：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Select v-model="formItem.itemInfoForm.aac004" disabled>
              <Option v-for="item in selectList.sexList" :value="item.value" v-bind:key="item.value">{{ item.label }}
              </Option>
            </Select>
          </Col>
          <Col span="3" class="ivu-form-item-label">出生日期：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aac006" disabled></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">年龄：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.age" disabled></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">申请金额：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aec01d" disabled/>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">所在地区：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aaa121" disabled></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">户籍地址：</Col>
          <Col span="13">
            <Input v-model="formItem.itemInfoForm.aac019" disabled></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">所在地区码：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aaa120" disabled></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">现住址：</Col>
          <Col span="13">
            <Input v-model="formItem.itemInfoForm.aac01a"></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">残疾类别：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Select v-model="formItem.itemInfoForm.adc013" disabled>
              <Option v-for="item in selectList.disabilityCategoryList" :value="item.value" v-bind:key="item.value">
                {{ item.label }}
              </Option>
            </Select>
          </Col>
          <Col span="3" class="ivu-form-item-label">残疾等级：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Select v-model="formItem.itemInfoForm.adc015" disabled>
              <Option v-for="item in selectList.disabilityLevelList" :value="item.value" v-bind:key="item.value">
                {{ item.label }}
              </Option>
            </Select>
          </Col>
          <Col span="3" class="ivu-form-item-label">残疾人证号：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.adc016" disabled></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">移动电话：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aac01d"></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">毕业院校：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aec211"></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">教育形式：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Select v-model="formItem.itemInfoForm.aec213">
              <Option v-for="item in selectList.educationTypeList" :value="item.value" v-bind:key="item.value">
                {{ item.label }}
              </Option>
            </Select>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">获得文凭：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Select v-model="formItem.itemInfoForm.aec215">
              <Option v-for="item in selectList.diplomaList" :value="item.value" v-bind:key="item.value">
                {{ item.label }}
              </Option>
            </Select>
          </Col>
          <Col span="3" class="ivu-form-item-label">毕业证书编号：</Col>
          <Col span="13">
            <Input v-model="formItem.itemInfoForm.aec217"></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">申请年度：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aec01b"></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">申请日期：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aec01c"></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">资助对象类型：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Select v-model="formItem.itemInfoForm.aec01z" disabled>
              <Option v-for="item in selectList.fundingTypeList" :value="item.value" v-bind:key="item.value">
                {{ item.label }}
              </Option>
            </Select>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">银行：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aac081"></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">银行账户名：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aac082"></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">银行卡号：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aac083"></Input>
          </Col>
        </Row>
      </Form>
      <div slot="footer">
        <Button type="success" @click="saveStudentInfo(true)">确定</Button>
        <Button type="error" @click="formItem.studentFormShow5=false">关闭</Button>
      </div>
      <img :src="nophoto" alt="..." class="subsidy-img" style="margin-top: -2px;">
    </Modal>
    <!-- 家长信息确认 -->
    <Modal v-model="formItem.parentFormShow" :title="'家长身份信息认证'" width="700" :closable="false">
      <Form label-position="right" :label-width="100">
        <Row class="mb20">
          <Col span="7" class="ivu-form-item-label">家长姓名：</Col>
          <Col span="12" class="ivu-form-item-content">
            <Input v-model="itemData.name"></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="7" class="ivu-form-item-label">证件号码：</Col>
          <Col span="12" class="ivu-form-item-content">
            <Input v-model="itemData.cardno"></Input>
          </Col>
        </Row>
      </Form>
      <div slot="footer">
        <Button type="success" @click="identityInfoVerification(true)">确定</Button>
        <Button type="error" @click="formItem.parentFormShow=false">关闭</Button>
      </div>
    </Modal>
    <!-- 申请残疾人辅助器具 -->
    <Modal v-model="formItem.assistiveevicesFormShow" :title="formItem.itemInfoFormTitle" width="80%" :closable="false">
      <Form label-position="right" :label-width="100" style="position: relative;">
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">姓名：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aac003" :disabled="getAge(personinfo.cardno) >= '14'"></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">身份证：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aac002" :disabled="getAge(personinfo.cardno) >= '14'"></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">性别：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Select v-model="formItem.itemInfoForm.aac004" :disabled="getAge(personinfo.cardno) >= '14'">
              <Option v-for="item in selectList.sexList" :value="item.value" v-bind:key="item.value">{{ item.label }}
              </Option>
            </Select>
          </Col>
          <Col span="3" class="ivu-form-item-label">出生日期：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aac006" :disabled="getAge(personinfo.cardno) >= '14'"></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">年龄：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.age" :disabled="getAge(personinfo.cardno) >= '14'"></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">民族：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Select v-model="formItem.itemInfoForm.aac005" :disabled="getAge(personinfo.cardno) >= '14'" filterable>
              <Option v-for="item in selectList.nationList" :value="item.value" v-bind:key="item.value">
                {{ item.label }}
              </Option>
            </Select>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">残疾人电话：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aac01d" :disabled="getAge(personinfo.cardno) >= '14'"></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">监护人姓名：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.adc01a"></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">监护人电话：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.adc01e"></Input>
          </Col>
        </Row>
        <Row class="mb20" v-if="getAge(personinfo.cardno) < '14'">
          <Col span="3" class="ivu-form-item-label">区县：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Select v-model="formDate.qxId" @on-change="bb">
              <Option v-for="item in sectionList" :value="item.id" :key="item.id">{{ item.title }}</Option>
            </Select>
          </Col>
          <Col span="3" class="ivu-form-item-label">街道：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Select v-model="formDate.jdId" @on-change="cc">
              <Option v-for="item in sectionListb" :value="item.id" :key="item.id">{{ item.title }}</Option>
            </Select>
          </Col>
          <Col span="3" class="ivu-form-item-label">社区：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Select v-model="formDate.company_code" @on-change="getValidateRulesCode()">
              <Option v-for="item in sectionListc" :value="item.company_code" :key="item.id">{{ item.title }}</Option>
            </Select>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">所在地区：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aaa121" disabled></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">户籍地址：</Col>
          <Col span="13">
            <Input v-model="formItem.itemInfoForm.aac019" :disabled="getAge(personinfo.cardno) >= '14'"></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">所在地区码：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aaa120" disabled></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">现住址：</Col>
          <Col span="13">
            <Input v-model="formItem.itemInfoForm.aac01a" :disabled="getAge(personinfo.cardno) >= '14'"></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">残疾类别：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Select v-model="formItem.itemInfoForm.adc013" :disabled="getAge(personinfo.cardno) >= '14'">
              <Option v-for="item in selectList.disabilityCategoryList" :value="item.value" v-bind:key="item.value">
                {{ item.label }}
              </Option>
            </Select>
          </Col>
          <Col span="3" class="ivu-form-item-label">残疾等级：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Select v-model="formItem.itemInfoForm.adc015" :disabled="getAge(personinfo.cardno) >= '14'">
              <Option v-for="item in selectList.disabilityLevelList" :value="item.value" v-bind:key="item.value">
                {{ item.label }}
              </Option>
            </Select>
          </Col>
          <Col span="3" class="ivu-form-item-label">残疾人证号：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.adc016" :disabled="getAge(personinfo.cardno) >= '14'"></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">残疾类别(小类)：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Select v-model="formItem.itemInfoForm.acc511" filterable>
              <Option v-for="item in selectList.disabilityCategoryMiniList" :value="item.value" v-bind:key="item.value">
                {{ item.label }}
              </Option>
            </Select>
          </Col>
          <Col span="3" class="ivu-form-item-label">户口性质：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Select v-model="formItem.itemInfoForm.aac009">
              <Option v-for="item in selectList.householdRegisterTypeList" :value="item.value" v-bind:key="item.value">
                {{ item.label }}
              </Option>
            </Select>
          </Col>
          <Col span="3" class="ivu-form-item-label">经济状况：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Select v-model="formItem.itemInfoForm.acc512">
              <Option v-for="item in selectList.economicSituationList" :value="item.value" v-bind:key="item.value">
                {{ item.label }}
              </Option>
            </Select>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">享受医疗保险情况：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Select v-model="formItem.itemInfoForm.acc513">
              <Option v-for="item in selectList.medicalInsuranceList" :value="item.value" v-bind:key="item.value">
                {{ item.label }}
              </Option>
            </Select>
          </Col>
          <Col span="3" class="ivu-form-item-label">申请日期：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.acc51n" disabled></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">申请人：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.acc51m"></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">适用范围：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Select v-model="formItem.itemInfoForm.aca051"
                    :disabled="itemData.item_id !== '11210101000000CLJD5212000406004'">
              <Option v-for="item in selectList.suitableRangeList" :value="item.value" v-bind:key="item.value">
                {{ item.label }}
              </Option>
            </Select>
          </Col>
          <Col span="3" class="ivu-form-item-label">辅具类别：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Select v-model="formItem.itemInfoForm.aca052"
                    :disabled="itemData.item_id !== '11210101000000CLJD5212000406004'" filterable>
              <template v-for="item in selectList.subsidiaryCategoryList">
                <Option v-if="formItem.itemInfoForm.aca051 === item.type" :value="item.value" v-bind:key="item.value">
                  {{ item.label }}
                </Option>
              </template>
            </Select>
          </Col>
          <Col span="3" class="ivu-form-item-label">辅具名称：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Select v-model="formItem.itemInfoForm.aca053"
                    :disabled="itemData.item_id !== '11210101000000CLJD5212000406004'" filterable
                    @on-change="getValidateRules2Details()">
              <template v-for="item in selectList.equipmentNameList">
                <Option v-if="formItem.itemInfoForm.aca052 === item.type" :value="item.value" v-bind:key="item.value">
                  {{ item.label }}
                </Option>
              </template>
            </Select>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">单位：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aca054" disabled></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">参考价格：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aca055" disabled></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">适用对象：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aca056" disabled></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">使用年限：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aca057" disabled></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">补贴比例：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aca058" disabled></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">评估级别：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Select v-model="formItem.itemInfoForm.aca059" disabled>
              <Option v-for="item in selectList.assessmentLevelList" :value="item.value" v-bind:key="item.value">
                {{ item.label }}
              </Option>
            </Select>
          </Col>
        </Row>
      </Form>
      <div slot="footer">
        <Button type="success" @click="saveAssistiveevicesInfo(true)">确定</Button>
        <Button type="error" @click="formItem.assistiveevicesFormShow=false">关闭</Button>
      </div>
      <img :src="nophoto" alt="..." class="subsidy-img">
    </Modal>
    <!--死亡证明模态框-->
    <Modal v-model="formItem.deathProveShow" :title="formItem.itemInfoFormTitle" width="700" :closable="false">
      <Form label-position="right" :label-width="100">
        <Row class="mb20">
          <Col span="7" class="ivu-form-item-label">持证者：</Col>
          <Col span="12" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.holder" disabled></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="7" class="ivu-form-item-label">证件号码：</Col>
          <Col span="12" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.holder_code" disabled></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="7" class="ivu-form-item-label">所需单位：</Col>
          <Col span="12" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.sxdw"></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="7" class="ivu-form-item-label">死者姓名：</Col>
          <Col span="12" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.szxm"></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="7" class="ivu-form-item-label">身份证号：</Col>
          <Col span="12">
            <Input v-model="formItem.itemInfoForm.sfzh"></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="7" class="ivu-form-item-label">性别：</Col>
          <Col span="12" class="ivu-form-item-content">
            <RadioGroup v-model="formItem.itemInfoForm.xb">
              <Radio label="男"></Radio>
              <Radio label="女"></Radio>
            </RadioGroup>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="7" class="ivu-form-item-label">家庭住址：</Col>
          <Col span="12">
            <Input v-model="formItem.itemInfoForm.jtzz"></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="7" class="ivu-form-item-label">死者关系：</Col>
          <Col span="12">
            <Input v-model="formItem.itemInfoForm.szgx"></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="7" class="ivu-form-item-label">居民类型：</Col>
          <Col span="13" style="margin-top: 5px">
            <CheckboxGroup v-model="formItem.itemInfoForm.jmlx_a">
              <Checkbox label="jmlx">户籍</Checkbox>
              <Checkbox label="jmlxcz">常住</Checkbox>
              <Checkbox label="jmlxdqjz">短期居住</Checkbox>
              <Checkbox label="jmlxdf">到访</Checkbox>
              <Checkbox label="jmlxqt">其他</Checkbox>
            </CheckboxGroup>
          </Col>
        </Row>
      </Form>
      <div slot="footer">
        <Button type="success" @click="saveDeathInfo(true)">确定</Button>
        <Button type="error" @click="formItem.deathProveShow=false">关闭</Button>
      </div>
    </Modal>
    <!--申请残疾人证模态框-->
    <Modal v-model="disableItem.disableShow" :title="disableItem.itemInfoFormTitle" width="700" :closable="false">
      <disabled-apply label-position="right" :label-width="700"
                      style="position: relative;" :disableItem="disableItem.itemInfo">

      </disabled-apply>
      <div slot="footer">
        <Button type="success" @click="saveDisableInfo(disableItem.itemInfo)">确定</Button>
        <Button type="error" @click="disableItem.disableShow=false">关闭</Button>
      </div>
    </Modal>
    <!--就业创业证模态框-->
    <Modal v-model="formItem.handlecertificateShow" :title="handleItem.itemInfoFormTitle" width="1200"
           :closable="false">
      <HandleCertificate @form="handlecertificateItem" ref="handle" label-position="right" :label-width="700"
                         :unemploymentItem1="unemploymentItem1" :info="info"
                         :personinfo="personinfo" :cardno="cardno" style="position: relative;"></HandleCertificate>
      <div slot="footer">
        <Button type="success" @click="handle(true)">确定</Button>
        <Button type="error" @click="formItem.handlecertificateShow=false">关闭</Button>
      </div>
    </Modal>
    <!--灵活就业登记模态框-->
    <Modal v-model="formItem.flexibleregisterShow" :title="flexItem.itemInfoFormTitle" width="1200" :closable="false">
      <flexibleregister @form="flexibleregisterItem" ref="handlechild" label-position="right" :label-width="700"
                        style="position: relative;" :unemploymentItem1="unemploymentItem1">

      </flexibleregister>
      <div slot="footer">
        <Button type="success" @click="save(true)">确定</Button>
        <Button type="error" @click="formItem.flexibleregisterShow=false">关闭</Button>
      </div>
    </Modal>
    <!--申请失业登记模态框-->
    <Modal v-model="formItem.unemploymentShow" :title="unemploymentItem.itemInfoFormTitle" width="900"
           :closable="false">
      <UnemploymentItem label-position="right" :label-width="700" ref="unempchild" @unemploymentItem="unemp"
                        :unemploymentItem1="unemploymentItem1"
                        style="position: relative;">

      </UnemploymentItem>
      <div slot="footer">
        <Button type="success" @click="saveUnemploymentInfo(true)">确定</Button>
        <Button type="error" @click="formItem.unemploymentShow=false">关闭</Button>
      </div>
    </Modal>
    <!--就业证年审模态框-->
    <Modal v-model="formItem.checkShow" :title="checkForm.itemInfoFormTitle" width="900" :closable="false">
      <checkCardItem label-position="right" :label-width="700" :unemploymentItem1="unemploymentItem1"
                     style="position: relative;" ref="checkChild" @checkItem="checkDatas">
      </checkCardItem>
      <div slot="footer">
        <Button type="success" @click="saveCheck(true)">确定</Button>
        <Button type="error" @click="formItem.checkShow=false">关闭</Button>
      </div>
    </Modal>
    <!--个人求职登记模态框-->
    <Modal v-model="formItem.jobShow" :title="jobItem.itemInfoFormTitle" :width="900" :closable="false">
      <JobItem label-position="right" :label-width="700" ref="jobChild" @jobItem="jobb" style="position: relative;"
               :unemploymentItem12="unemploymentItem12">
      </JobItem>
      <div slot="footer">
        <Button type="success" @click="saveJobInfo(true)">确定</Button>
        <Button type="error" @click="formItem.jobShow=false">关闭</Button>
      </div>
    </Modal>
    <Modal v-model="formItem.showInsuredRegister" :title="formItem.itemInfoFormTitle" :width="700" :closable="false">
      <insuredRegisterForm :personinfo="personinfo" :state="formItem.state" :params="formItem.itemInfoForm"
                           :setnation="personinfo.folk" ref="resident"
                           @saveSuccess="yesOk($event)"></insuredRegisterForm>
      <div slot="footer">
        <Button type="success" @click="saveResident">确定</Button>
      </div>
    </Modal>
    <Modal v-model="formItem.showInsuredChange" :title="formItem.itemInfoFormTitle" :width="700" :closable="false">
      <insuredChangeForm :personinfo="personinfo" :state="formItem.state"
                         :params="formItem.itemInfoForm"></insuredChangeForm>
      <div slot="footer">
        <Button type="success" @click="formItem.showInsuredChange=false">确定</Button>
      </div>
    </Modal>
    <Modal v-model="formItem.showInsuredItem" :title="formItem.itemInfoFormTitle" :width="700" :closable="false">
      <insuredItemForm :personinfo="personinfo" :state="formItem.state"
                       :params="formItem.itemInfoForm"></insuredItemForm>
      <div slot="footer">
        <Button type="success" @click="formItem.showInsuredItem=false">确定</Button>
      </div>
    </Modal>
    <!--  沈阳市政府购买居家养老服务登记模态框  -->
    <Modal v-model="formItem.purchaseHomeCareShow" :title="formItem.itemInfoFormTitle" :width="700" :closable="false"
           :mask-closable="false">
      <purchaseHomeCare :cardno="$route.params.cardno" :personinfo="personinfo" :formData2="formItem.itemInfoForm"
                        ref="purchasechild" @purchaseHome="purchaseHomeShow"></purchaseHomeCare>
      <div slot="footer">
        <Button type="success" @click="savePurchaseHomeCare()">确定</Button>
        <Button type="error" @click="formItem.purchaseHomeCareShow=false">关闭</Button>
      </div>
    </Modal>
    <!--  沈阳市高龄老年人补贴发放  -->
    <Modal v-model="formItem.OldAgeAllowanceShow" :title="formItem.itemInfoFormTitle" :width="700" :closable="false"
           :mask-closable="false">
      <GllrbtForm :cardno="$route.params.cardno" :personinfo="personinfo" :formData2="formItem.itemInfoForm"
                  ref="gllrbtItem" @gllrbtForm="gllrbtShow"></GllrbtForm>
      <div slot="footer">
        <Button type="success" @click="saveyanglaoCare()">确定</Button>
        <Button type="error" @click="formItem.OldAgeAllowanceShow=false">关闭</Button>
      </div>
    </Modal>
    <!--招聘登记-->
    <!--    <Modal v-model="formItem.recruitShow" :title="recruitItem.itemInfoFormTitle" :width="900" :closable="false" >-->
    <!--      <recruitItem label-position="right" :label-width="700" ref="recruitChild" @recruitItem="recruit" :unemploymentItem1="unemploymentItem1"-->
    <!--                   style="position: relative;" >-->

    <!--      </recruitItem>-->
    <!--      <div slot="footer">-->
    <!--        <Button type="success" @click="saveRecruit(true)">确定</Button>-->
    <!--        <Button type="error" @click="formItem.recruitShow=false">关闭</Button>-->
    <!--      </div>-->
    <!--    </Modal>-->
    <!--临时救助-->
    <Modal v-model="formItem.temporaryAssistanceShow" :title="temporaryItem.itemInfoFormTitle" width="1200"
           :closable="false">
      <temporaryAssistance @form="temporaryAssistanceItem" ref="temporary" label-position="right" :label-width="700"
                           style="position: relative;" :unemploymentItem1="unemploymentItem1" :time1="time1">
      </temporaryAssistance>
      <div slot="footer">
        <Button type="success" @click="temporarysave(true)">确定</Button>
        <Button type="error" @click="formItem.temporaryAssistanceShow=false">关闭</Button>
      </div>
    </Modal>
    <!--    儿童福利证-->
    <Modal v-model="formItem.childwelfareShow" :title="childwelfareItem.itemInfoFormTitle" width="1200"
           :closable="false">
      <childwelfare @form="childItem" ref="child" label-position="right" :label-width="700" style="position: relative;"
                    :unemploymentItem1="unemploymentItem1">
      </childwelfare>
      <div slot="footer">
        <Button type="success" @click="childsave(true)">确定</Button>
        ；
        <Button type="error" @click="formItem.childwelfareShow=false">关闭</Button>
      </div>
    </Modal>
    <!--纸质证个人信息-->
    <Modal v-model="formItem.personInfoShow" :title="formItem.itemInfoFormTitle" width="1200" :closable="false">
      <div v-if="formItem.personInfoShow">
        <personForm label-position="right" :label-width="700" style="position: relative;" ref="personChild"
                    :formDate="formItem.itemInfoForm" :personFormInfo="personFormInfo" @checkPerson="checkPersonData">
        </personForm>
      </div>
      <div slot="footer">
        <Button type="success" @click="savePersonInfo()">确定</Button>
        <Button type="error" @click="formItem.personInfoShow=false">关闭</Button>
      </div>
    </Modal>
    <!--    测试事项-->
    <Modal v-model="formItem.personInfoTestShow" :title="formItem.itemInfoFormTitle" width="1200" :closable="false">
      <div v-if="formItem.personInfoTestShow">
        <personFormTest label-position="right" :label-width="700" style="position: relative;" ref="personTest"
                        :formDate="formItem.itemInfoForm" :personFormInfo="personFormInfo"
                        @checkPerson="checkPersonDataTest">
        </personFormTest>
      </div>
      <div slot="footer">
        <Button type="success" @click="savePersonInfoTest()">确定</Button>
        <Button type="error" @click="formItem.personInfoTestShow=false">关闭</Button>
      </div>
    </Modal>
    <!--申请低收入一级残疾人专项救助-->
    <template>
      <Modal
        v-model="disModal"
        width="1100"
        title="申请低收入一级残疾人专项救助">
        <disability @form="disItem" :cardno="cardno" :personinfo="personinfo" :info="info" ref="child"></disability>
        <div slot="footer">
          <Button type="error" size="default" @click="disModal=false">关闭</Button>
        </div>
      </Modal>
    </template>
    <!--申请低收入一级残疾人专项救助-->
    <Modal v-model="formItem.disModal1" :title="formItem.itemInfoFormTitle" width="1000" :closable="false">
      <Form label-position="right" :label-width="100" style="position: relative;">
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">姓名：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aac003" :disabled="formItem.itemInfoForm.agc117 !== '1'"></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">身份证：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aac002" :disabled="formItem.itemInfoForm.agc117 !== '1'"></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">性别：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Select v-model="formItem.itemInfoForm.aac004" :disabled="formItem.itemInfoForm.agc117 !== '1'">
              <Option v-for="item in selectList.sexList" :value="item.value" v-bind:key="item.value">{{ item.label }}
              </Option>
            </Select>
          </Col>
          <Col span="3" class="ivu-form-item-label">出生日期：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aac006" :disabled="formItem.itemInfoForm.agc117 !== '1'"></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">年龄：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.age" :disabled="formItem.itemInfoForm.agc117 !== '1'"></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">民族：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Select v-model="formItem.itemInfoForm.aac005" filterable :disabled="formItem.itemInfoForm.agc117 !== '1'">
              <Option v-for="item in selectList.nationList" :value="item.value" v-bind:key="item.value">
                {{ item.label }}
              </Option>
            </Select>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">固定电话</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aac01c"></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">移动电话：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aac01d"></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">外地残疾人：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Select v-model="formItem.itemInfoForm.agc117" disabled>
              <Option v-for="item in selectList.whetherList" :value="item.value" v-bind:key="item.value">
                {{ item.label }}
              </Option>
            </Select>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">户口性质：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Select v-model="formItem.itemInfoForm.aac009" :disabled="formItem.itemInfoForm.agc117 !== '1'">
              <Option v-for="item in selectList.householdRegisterTypeList" :value="item.value" v-bind:key="item.value">
                {{ item.label }}
              </Option>
            </Select>
          </Col>
          <Col span="3" class="ivu-form-item-label">现住址：</Col>
          <Col span="13">
            <Input v-model="formItem.itemInfoForm.aac01a"></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">邮政编码：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aac01b" :disabled="formItem.itemInfoForm.agc117 !== '1'"></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">户籍地址：</Col>
          <Col span="13">
            <Input v-model="formItem.itemInfoForm.aac019" :disabled="formItem.itemInfoForm.agc117 !== '1'"></Input>
          </Col>
        </Row>
        <Row class="mb20" v-if="formItem.itemInfoForm.agc117 === '1'">
          <Col span="3" class="ivu-form-item-label">区县：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Select v-model="formDate.qxId" @on-change="bb">
              <Option v-for="item in sectionList" :value="item.id" :key="item.id">{{ item.title }}</Option>
            </Select>
          </Col>
          <Col span="3" class="ivu-form-item-label">街道：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Select v-model="formDate.jdId" @on-change="cc">
              <Option v-for="item in sectionListb" :value="item.id" :key="item.id">{{ item.title }}</Option>
            </Select>
          </Col>
          <Col span="3" class="ivu-form-item-label">社区：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Select v-model="formDate.company_code" @on-change="getValidateRulesCode()">
              <Option v-for="item in sectionListc" :value="item.company_code" :key="item.id">{{ item.title }}</Option>
            </Select>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">所在地区码：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aaa120" disabled></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">所在地区：</Col>
          <Col span="13" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aaa121" disabled></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">残疾类别：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Select v-model="formItem.itemInfoForm.adc013" :disabled="formItem.itemInfoForm.agc117 !== '1'">
              <Option v-for="item in selectList.disabilityCategoryList" :value="item.value" v-bind:key="item.value">
                {{ item.label }}
              </Option>
            </Select>
          </Col>
          <Col span="3" class="ivu-form-item-label">残疾等级：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Select v-model="formItem.itemInfoForm.adc015" :disabled="formItem.itemInfoForm.agc117 !== '1'">
              <Option v-for="item in selectList.disabilityLevelList" :value="item.value" v-bind:key="item.value">
                {{ item.label }}
              </Option>
            </Select>
          </Col>
          <Col span="3" class="ivu-form-item-label">残疾人证号：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.adc016" :disabled="formItem.itemInfoForm.agc117 !== '1'"></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">联系人：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.adc01a" :disabled="formItem.itemInfoForm.agc117 !== '1'"></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">联系人固定电话：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.adc01d"></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">联系人移动电话：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.adc01e"></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">申请年度：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.agc111" :disabled="formItem.itemInfoForm.agc117 !== '1'"></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">自理程度：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Select v-model="formItem.itemInfoForm.agc114">
              <Option v-for="item in selectList.selfCareList" :value="item.value" v-bind:key="item.value">
                {{ item.label }}
              </Option>
            </Select>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">银行：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aac081"></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">银行账户名：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aac082"></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">银行卡号：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aac083"></Input>
          </Col>
        </Row>
      </Form>
      <div slot="footer">
        <Button type="success" @click="saveOneDisabledMoney(true)">确定</Button>
        <Button type="error" @click="formItem.disModal1=false">关闭</Button>
      </div>
      <img :src="nophoto" alt="..." class="subsidy-img" style="margin-top: -2px;">
    </Modal>
    <!-- 申请55-59周岁参加城乡居民养老保险的重度残疾人生活补助 -->
    <Modal v-model="formItem.disabilityZDSHBT" :title="formItem.itemInfoFormTitle" width="1000" :closable="false">
      <Form label-position="right" :label-width="100" style="position: relative;">
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">姓名：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aac003" disabled></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">身份证：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aac002" disabled></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">性别：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Select v-model="formItem.itemInfoForm.aac004">
              <Option v-for="item in selectList.sexList" :value="item.value" v-bind:key="item.value">{{ item.label }}
              </Option>
            </Select>
          </Col>
          <Col span="3" class="ivu-form-item-label">出生日期：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aac006" disabled></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">年龄：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.age" disabled></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">民族：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Select v-model="formItem.itemInfoForm.aac005" filterable disabled>
              <Option v-for="item in selectList.nationList" :value="item.value" v-bind:key="item.value">
                {{ item.label }}
              </Option>
            </Select>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">固定电话</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aac01c"></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">现住址：</Col>
          <Col span="13">
            <Input v-model="formItem.itemInfoForm.aac01a"></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">移动电话：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aac01d"></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">户籍地址：</Col>
          <Col span="13">
            <Input v-model="formItem.itemInfoForm.aac019" disabled></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">所在地区码：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aaa120" disabled></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">所在地区：</Col>
          <Col span="13" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aaa121" disabled></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">残疾类别：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Select v-model="formItem.itemInfoForm.adc013" disabled>
              <Option v-for="item in selectList.disabilityCategoryList" :value="item.value" v-bind:key="item.value">
                {{ item.label }}
              </Option>
            </Select>
          </Col>
          <Col span="3" class="ivu-form-item-label">残疾等级：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Select v-model="formItem.itemInfoForm.adc015" disabled>
              <Option v-for="item in selectList.disabilityLevelList" :value="item.value" v-bind:key="item.value">
                {{ item.label }}
              </Option>
            </Select>
          </Col>
          <Col span="3" class="ivu-form-item-label">残疾人证号：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.adc016" disabled></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">联系人：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.adc01a"></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">联系人固定电话：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.adc01d"></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">联系人移动电话：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.adc01e"></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">申请时间：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.ajc111" disabled></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">申请年度：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.ajc114"></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">申请季度：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Select v-model="formItem.itemInfoForm.ajc115">
              <Option v-for="item in selectList.quarterList" :value="item.value" v-bind:key="item.value">
                {{ item.label }}
              </Option>
            </Select>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">户口性质：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Select v-model="formItem.itemInfoForm.aac009" disabled>
              <Option v-for="item in selectList.householdRegisterTypeList" :value="item.value" v-bind:key="item.value">
                {{ item.label }}
              </Option>
            </Select>
          </Col>
          <Col span="3" class="ivu-form-item-label">参保类型：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Select v-model="formItem.itemInfoForm.ajc116">
              <Option v-for="item in selectList.InsuredType" :value="item.value" v-bind:key="item.value">
                {{ item.label }}
              </Option>
            </Select>
          </Col>
          <Col span="3" class="ivu-form-item-label">参保时间：</Col>
          <Col span="5" class="ivu-form-item-content">
            <DatePicker type="date" placeholder="参保时间" v-model="formItem.itemInfoForm.ajc117"
                        style="width: 200px"></DatePicker>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">银行：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aac081"></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">银行账户名：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aac082"></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">银行卡号：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aac083"></Input>
          </Col>
        </Row>
      </Form>
      <div slot="footer">
        <Button type="success" @click="saveDisabledSalvageMoney(true)">确定</Button>
        <Button type="error" @click="formItem.disabilityZDSHBT=false">关闭</Button>
      </div>
      <img :src="nophoto" alt="..." class="subsidy-img" style="margin-top: -2px;">
    </Modal>
    <!-- 申请办理《中华人民共和国残疾人证》 -->
    <Modal v-model="formItem.disabilityCertificateFormShow" :title="formItem.itemInfoFormTitle" width="1200"
           :closable="false">
      <Form label-position="right" :label-width="100" style="position: relative;">
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">姓名：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aac003" disabled></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">身份证：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aac002" disabled></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">性别：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Select v-model="formItem.itemInfoForm.aac004" disabled>
              <Option v-for="item in selectList.sexList" :value="item.value" v-bind:key="item.value">{{ item.label }}
              </Option>
            </Select>
          </Col>
          <Col span="3" class="ivu-form-item-label">出生日期：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aac006" disabled></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">年龄：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.age" disabled></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">民族：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Select v-model="formItem.itemInfoForm.aac005" filterable>
              <Option v-for="item in selectList.nationList" :value="item.value" v-bind:key="item.value">
                {{ item.label }}
              </Option>
            </Select>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">固定电话：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aac01c"></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">现住址：</Col>
          <Col span="13">
            <Input v-model="formItem.itemInfoForm.aac01a"></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">移动电话：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aac01d"></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">户籍地址：</Col>
          <Col span="13">
            <Input v-model="formItem.itemInfoForm.aac019"></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">区县：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Select v-model="formDate.qxId" @on-change="bb">
              <Option v-for="item in sectionList" :value="item.id" :key="item.id">{{ item.title }}</Option>
            </Select>
          </Col>
          <Col span="3" class="ivu-form-item-label">街道：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Select v-model="formDate.jdId" @on-change="cc">
              <Option v-for="item in sectionListb" :value="item.id" :key="item.id">{{ item.title }}</Option>
            </Select>
          </Col>
          <Col span="3" class="ivu-form-item-label">社区：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Select v-model="formDate.company_code" @on-change="getValidateRulesCode()">
              <Option v-for="item in sectionListc" :value="item.company_code" :key="item.id">{{ item.title }}</Option>
            </Select>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">户籍地代码：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aaa120" disabled></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">户籍地：</Col>
          <Col span="13" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aaa121" disabled></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">户口性质：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Select v-model="formItem.itemInfoForm.aac009">
              <Option v-for="item in selectList.householdRegisterTypeList" :value="item.value" v-bind:key="item.value">
                {{ item.label }}
              </Option>
            </Select>
          </Col>
          <Col span="3" class="ivu-form-item-label">籍贯：</Col>
          <Col span="13">
            <Input v-model="formItem.itemInfoForm.aac007"></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">文化程度：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Select v-model="formItem.itemInfoForm.aac011">
              <Option v-for="item in selectList.educationalLevelList" :value="item.value" v-bind:key="item.value">
                {{ item.label }}
              </Option>
            </Select>
          </Col>
          <Col span="3" class="ivu-form-item-label">婚姻状况：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Select v-model="formItem.itemInfoForm.aac013">
              <Option v-for="item in selectList.marriageAllList" :value="item.value" v-bind:key="item.value">
                {{ item.label }}
              </Option>
            </Select>
          </Col>
          <Col span="3" class="ivu-form-item-label">邮政编码：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aac01b"></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">申请残疾类别：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Select v-model="formItem.itemInfoForm.adc111">
              <Option v-for="item in selectList.disabilityCategoryList" :value="item.value" v-bind:key="item.value">
                {{ item.label }}
              </Option>
            </Select>
          </Col>
          <Col span="3" class="ivu-form-item-label">与其关系：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Select v-model="formItem.itemInfoForm.adc01c">
              <Option v-for="item in selectList.closelyRelatedList" :value="item.value" v-bind:key="item.value">
                {{ item.label }}
              </Option>
            </Select>
          </Col>
          <Col span="3" class="ivu-form-item-label">申领方式：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Select v-model="formItem.itemInfoForm.adc114">
              <Option v-for="item in selectList.applicationMethodList"
                      :disabled="item.value === (getAge($route.params.cardno) < 16 ? '1' : formItem.itemInfoForm.adc111 === '5' ? '1' : formItem.itemInfoForm.adc111 === '6' ? '1' : '2')"
                      :value="item.value" v-bind:key="item.value">{{ item.label }}
              </Option>
            </Select>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">联系人：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.adc01a"></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">联系人身份证号：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.adc01b"></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">联系人固定电话：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.adc01d"></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">联系人移动电话：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.adc01e"></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">联系人家庭住址：</Col>
          <Col span="13" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.adc01f"></Input>
          </Col>
        </Row>
        <Row class="mb20" v-if="formItem.itemInfoForm.adc114 === '3'">
          <Col span="3" class="ivu-form-item-label">委托代理人姓名：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.adc116"></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">委托代理人固定电话：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.adc117"></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">委托代理人移动电话：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.adc118"></Input>
          </Col>
        </Row>
      </Form>
      <div slot="footer">
        <Button type="success" @click="saveDisabilityCertificate(true, 'disabilityCertificateFormShow')">确定</Button>
        <Button type="error" @click="formItem.disabilityCertificateFormShow=false">关闭</Button>
      </div>
      <img :src="nophoto" alt="..." class="subsidy-img" style="margin-top: -2px;">
    </Modal>
    <!-- 申请变更《中华人民共和国残疾人证》残疾等级 -->
    <Modal v-model="formItem.disabledLevelFormShow" :title="formItem.itemInfoFormTitle" width="1000" :closable="false">
      <Form label-position="right" :label-width="100" style="position: relative;">
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">姓名：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aac003" disabled></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">身份证：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aac002" disabled></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">性别：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Select v-model="formItem.itemInfoForm.aac004" disabled>
              <Option v-for="item in selectList.sexList" :value="item.value" v-bind:key="item.value">{{ item.label }}
              </Option>
            </Select>
          </Col>
          <Col span="3" class="ivu-form-item-label">出生日期：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aac006" disabled></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">年龄：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.age" disabled></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">民族：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Select v-model="formItem.itemInfoForm.aac005" filterable>
              <Option v-for="item in selectList.nationList" :value="item.value" v-bind:key="item.value">
                {{ item.label }}
              </Option>
            </Select>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">固定电话：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aac01c"></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">现住址：</Col>
          <Col span="13">
            <Input v-model="formItem.itemInfoForm.aac01a"></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">移动电话：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aac01d"></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">户籍地址：</Col>
          <Col span="13">
            <Input v-model="formItem.itemInfoForm.aac019"></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">户籍地代码：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aaa120" disabled></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">户籍地：</Col>
          <Col span="13" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aaa121" disabled></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">户口性质：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Select v-model="formItem.itemInfoForm.aac009">
              <Option v-for="item in selectList.householdRegisterTypeList" :value="item.value" v-bind:key="item.value">
                {{ item.label }}
              </Option>
            </Select>
          </Col>
          <Col span="3" class="ivu-form-item-label">籍贯：</Col>
          <Col span="13">
            <Input v-model="formItem.itemInfoForm.aac007"></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">文化程度：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Select v-model="formItem.itemInfoForm.aac011">
              <Option v-for="item in selectList.educationalLevelList" :value="item.value" v-bind:key="item.value">
                {{ item.label }}
              </Option>
            </Select>
          </Col>
          <Col span="3" class="ivu-form-item-label">婚姻状况：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Select v-model="formItem.itemInfoForm.aac013">
              <Option v-for="item in selectList.marriageAllList" :value="item.value" v-bind:key="item.value">
                {{ item.label }}
              </Option>
            </Select>
          </Col>
          <Col span="3" class="ivu-form-item-label">邮政编码：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.aac01b"></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">申请残疾类别：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Select v-model="formItem.itemInfoForm.adc111">
              <Option v-for="item in selectList.disabilityCategoryList" :value="item.value" v-bind:key="item.value">
                {{ item.label }}
              </Option>
            </Select>
          </Col>
          <Col span="3" class="ivu-form-item-label">与其关系：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Select v-model="formItem.itemInfoForm.adc01c">
              <Option v-for="item in selectList.closelyRelatedList" :value="item.value" v-bind:key="item.value">
                {{ item.label }}
              </Option>
            </Select>
          </Col>
          <Col span="3" class="ivu-form-item-label">申领方式：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Select v-model="formItem.itemInfoForm.adc114">
              <Option v-for="item in selectList.applicationMethodList"
                      :disabled="item.value === (getAge($route.params.cardno) < 16 ? '1' : formItem.itemInfoForm.adc111 === '5' ? '1' : formItem.itemInfoForm.adc111 === '6' ? '1' : '2')"
                      :value="item.value" v-bind:key="item.value">{{ item.label }}
              </Option>
            </Select>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">联系人：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.adc01a"></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">联系人身份证号：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.adc01b"></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">联系人固定电话：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.adc01d"></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="3" class="ivu-form-item-label">联系人移动电话：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.adc01e"></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">联系人家庭住址：</Col>
          <Col span="13" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.adc01f"></Input>
          </Col>
        </Row>
        <Row class="mb20" v-if="formItem.itemInfoForm.adc114 === '3'">
          <Col span="3" class="ivu-form-item-label">委托代理人姓名：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.adc116"></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">委托代理人固定电话：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.adc117"></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">委托代理人移动电话：</Col>
          <Col span="5" class="ivu-form-item-content">
            <Input v-model="formItem.itemInfoForm.adc118"></Input>
          </Col>
        </Row>
      </Form>
      <div slot="footer">
        <Button type="success" @click="saveDisabilityCertificate(false, 'disabledLevelFormShow')">确定</Button>
        <Button type="error" @click="formItem.disabledLevelFormShow=false">关闭</Button>
      </div>
      <img :src="nophoto" alt="..." class="subsidy-img" style="margin-top: -2px;">
    </Modal>
    <!--PDF打印-->
    <Modal v-model="pdfModal" title="PDF下载" width="1000" :closable="false">
      <Row>
        <Col span="24" id="printMe1" class="ivu-form-item-content" style="text-align: center">
          <embed width="800" height="600" :src="form_url"></embed>
        </Col>
      </Row>
      <div slot="footer">
        <!-- <Button type="success" v-print="'#printMe1'">打印</Button> -->
        <Button type="error" @click="pdfModal=false">关闭</Button>
      </div>
    </Modal>
    <Modal
      v-model="formItem.dbFrom"
      width="800"
      title="申请续领城镇居民最低生活保障金认定日期">
      <template>
        <Form ref="formValidate" :model="dbForminfo" :label-width="120">
          <Row>
            <Col span="10" style="padding-right: 10px">
              <FormItem label="年份：">
                <Input v-model="dbForminfo.Year" disabled></Input>
              </FormItem>
            </Col>
            <Col span="10">
              <FormItem label="月份：">
                <Select v-model="dbForminfo.Month">
                  <Option v-for="(item,index) in dbMonthList" :key="index" :value="item">{{ item }}</Option>
                </Select>
              </FormItem>
            </Col>
          </Row>
        </Form>
      </template>
      <div slot="footer">
        <Button type="error" size="default" @click="formItem.dbFrom=false">关闭</Button>
      </div>
    </Modal>
    <Modal
      v-model="depositModal"
      title="沉淀提示"
      @on-ok="createCopyFiles">
      <p>是否使用电子证照？</p>
    </Modal>
    <Modal
      v-model="showSampleTable.isshow"
      title="样表查看"
      @on-ok="createCopyFiles">
      <img :src="showSampleTable.sample_table" style="width: 100%"/>
    </Modal>
    <div id="qrcode1" ref="qrcode1" style="position: absolute;margin-top: -12%;"></div>
    <div>
      <wl-equipment
        ref="wlEquipment1"
        @goonTodo="goonTodo"
      ></wl-equipment>
    </div>
  </Layout>
</template>
<script>
import GllrbtForm from './components/gllrbtForm'
import FaceCamera from '_c/face2-camera'
import HeightCamera from '_c/height2-camera'
import WlForm from '_c/wl-form'
import {
  userinfo,
  iteminf,
  createOrder,
  updateOrder,
  date2str,
  getMailLevelList,
  getSQCodeFc,
  createDisabilityApi,
  createCopyFiles,
  getDepositInfo,
  authentication,
  repeatApplicationValidation,
  checkDisabilityCertificateAll
} from '@/api/eventlist'
import { getSign, createUpLoadFiles } from '@/api/common'
import nophoto from '@/assets/images/nophoto.jpeg'
import SplitPane from '@/components/split-pane/split'
import DisabledApply from './components/disabledApplay'
import UnemploymentItem from './components/UnemploymentItem'
import JobItem from './components/jobItem'
import insuredRegisterForm from './components/rsForm/insuredRegister'
import insuredChangeForm from './components/rsForm/insuredChange'
import insuredItemForm from './components/rsForm/insuredItem'
import HandleCertificate from './components/entrepreneurship'
import checkCardItem from './components/checkCardItem'
import recruitItem from './components/recruitItem'
import flexibleregister from './components/flexible-register'
import temporaryAssistance from './components/temporaryAssistance'
import WlEquipment from '@/components/wl-equipment/index'
import childwelfare from './components/childwelfare'
import personForm from './components/personInfo'
import personFormTest from './components/personinfoTest'
import Disability from './components/disability/index'
import QRCode from 'qrcodejs2'
import disabilitydata from './components/itemdata'
import purchaseHomeCare from './components/purchaseHomeCare'
import * as imageConversion from 'image-conversion'

export default {
  name: 'handinformation',
  data () {
    return {
      interval: '',
      cardDeviceFlag: true,
      printIndex: '',
      buttonInfo: '',
      buttonState: '',
      depositModal: false,
      depositInfo: {},
      ruleData: {},
      disabledLevel: '',
      funeralPersonnelFlag: '',
      disabledPerson: '',
      DISABLED_NUMBER: '',
      CJR_ALLOCATION_ID_NAME: '',
      FIRST_TIME: '',
      formDate: Object,
      sectionList: [],
      sectionListb: [],
      sectionListc: [],
      disabledListb: [],
      disabledListc: [],
      dbForminfo: {
        Year: '',
        Month: ''
      },
      showSampleTable: {
        isshow: false
      },
      dbMonthList: [],
      dbModal: false,
      cardno: '',
      subsidies: '',
      disModal: false,
      pdfModal: false,
      form_url: '', // 打印pdf地址
      loading: false,
      timeStep: '', // 时间戳
      severUserInfo: {},
      disabledAuxiliaryInfo: {},
      personFormInfo: {
        card_type: '1'
      },
      obj: {},
      mshow: false,
      cardId: '',
      type: 'heightCamera',
      filePath: '', // 上传图片地址
      fileName: '', // 上传图片名称
      openNow: false,
      readStatus: false,
      faceStatus: false,
      name: '',
      time1: '',
      info: {},
      fruit: [],
      // 事项详细信息(01 事项信息)
      itemData: {},
      unemploymentItem1: {},
      // unemploymentItem12个人求职回显数据
      unemploymentItem12: {},
      // 办理人员信息(02 办件信息)/
      personinfo: {},
      // 申报材料列表(03 申报材料)
      documentlist: [],
      // 拍照弹出框控制器
      face_mol: false,
      // 控制打开or关闭拍照功能
      face_shows: false,
      // 高拍仪弹出框控制器
      gpy_mol: false,
      // 控制打开or关闭高拍仪功能
      gpy_shows: false,
      up_pic_mol: false,
      upPicData: {},
      // 图片要件预览临时变量
      temp_photo: '',
      // 图片要件预览弹出框控制器
      picPreviewMol: {
        preShow: false,
        pic_urls: [],
        picIndex: 0
      },
      nophoto,
      // 页面内其他的功能变量
      formItem: {
        // 跳入当前页面时，需要的操作，true添加或编辑 false查看
        operation: '',
        next_step: false,
        a: '低保残疾人',
        b: '生活补贴',
        reloadTabel: false,
        // 在点击申报材料后面按钮时，记录当前要件在列表的索引位置
        paramIndex: 0,
        radio: 'male',
        // 弹出框标题
        itemInfoFormTitle: '',
        communityProveShow: false,
        OldAgeAllowanceShow: false,
        subsidyFormShow: false,
        studentFormShow1: false,
        studentFormShow2: false,
        studentFormShow3: false,
        studentFormShow4: false,
        studentFormShow5: false,
        parentFormShow: false,
        disModal1: false,
        disabilityZDSHBT: false,
        assistiveevicesFormShow: false,
        disabilityCertificateFormShow: false,
        disabledLevelFormShow: false,
        deathProveShow: false,
        jobShow: false,
        unemploymentShow: false,
        handlecertificateShow: false,
        recruitShow: false,
        showInsuredRegister: false,
        showInsuredChange: false,
        showInsuredItem: false,
        flexibleregisterShow: false, // 灵活创业就业证
        temporaryAssistanceShow: false, // 临时救助
        childwelfareShow: false, // 儿童福利
        personInfoShow: false, // 纸质证
        personInfoTestShow: false, // 测试事项
        purchaseHomeCareShow: false, // 沈阳市政府购买居家养老服务
        state: 0,
        checkShow: false,
        dbFrom: false, // 续领低保
        // 弹出框内容
        itemInfoForm: {
          agc117: '',
          aaa121: '',
          aaa120: '',
          aca050: '',
          aca051: '',
          aca052: '',
          aca053: '',
          aca054: '',
          aca055: '',
          aca056: '',
          aca057: '',
          aca058: '',
          aca059: ''
        },
        checkStudentInfo: {
          aac001: '申请人不存在',
          aac003: '姓名不能为空',
          aac002: '身份证不能为空',
          aac004: '性别不能为空',
          aac005: '民族选项不能为空',
          aac006: '出生日期不能为空',
          age: '年龄不能为空',
          aac009: '户口性质不能为空',
          aaa120: '所在地区代码不能为空',
          aaa121: '所在地区不能为空',
          adc013: '残疾类别不能为空',
          adc015: '残疾等级不能为空',
          adc016: '残疾证号不能为空',
          aac019: '户籍地址不能为空',
          aac01a: '现住址不能为空',
          aac01c: '固定电话不能为空',
          aac003a: '家长姓名不能为空',
          aac002a: '家长身份证不能为空',
          aac004a: '家长性别不能为空',
          agea: '家长年龄不能为空',
          adc016a: '家长残疾证号不能为空',
          adc01a: '联系人姓名不能为空',
          adc01d: '联系人固定电话不能为空',
          adc01e: '联系人移动电话不能为空',
          aec011: '就学阶段不能为空',
          aec012: '就读学校(幼儿园)不能为空',
          aec013: '就学形式不能为空',
          aec014: '就学年级不能为空',
          aec211: '毕业院校不能为空',
          aec213: '教育形式不能为空',
          aec215: '获得文凭不能为空',
          aec217: '毕业证书编号不能为空',
          aec01d: '申请金额不能为空',
          aec01b: '申请年度不能为空',
          aec01c: '申请日期格式不能为空',
          aec01z: '资助对象类型不能为空',
          aec111: '家庭经济状况不能为空',
          aec112: '低保号低保边缘号不能为空',
          aac081: '银行名称不能为空',
          aac082: '银行账户名不能为空',
          aac083: '银行账号不能为空',
          acc511: '残疾类别(小类)不能为空',
          acc512: '经济状况不能为空',
          acc513: '享受医疗保险情况不能为空',
          acc51m: '申请人不能为空',
          aca051: '适用范围不能为空, 请手动添加',
          aca052: '辅具类别不能为空, 请手动添加',
          aca053: '辅具名称不能为空, 请手动添加',
          aca057: '使用年限不能为空, 请手动添加可用辅助器具',
          aca058: '补贴比例不能为空, 请手动添加可用辅助器具',
          aca059: '评估级别不能为空, 请手动添加可用辅助器具',
          agc111: '申请时间不能为空',
          aec117: '申请理由不能为空',
          ajc111: '申请时间不能为空',
          ajc114: '申请年度不能不能为空',
          ajc115: '申请季度不能为空',
          ajc116: '参保类型不能为空',
          ajc117: '参保时间不能为空',
          adc111: '申请残疾类别不能为空',
          adc114: '申领方式不能为空'
        }
      },
      // 残疾人证信息
      disableItem: {
        disableShow: false,
        itemInfoFormTitle: '中华人民共和国残疾人证申请表',
        itemInfo: {}
      },
      // 就业创业登记信息
      handleItem: {
        itemInfoFormTitle: '就业创业登记',
        itemInfo: {}
      },
      // 失业登记信息
      unemploymentItem: {
        itemInfoFormTitle: '失业信息登记',
        itemInfo: {}
      },
      // 灵活就业信息登记
      flexItem: {
        itemInfoFormTitle: '灵活就业信息登记',
        itemInfo: {}
      },
      // 临时救助情况登记表
      temporaryItem: {
        itemInfoFormTitle: '临时救助情况登记表',
        itemInfo: {}
      },
      // 儿童福利申请表
      childwelfareItem: {
        itemInfoFormTitle: '儿童福利申请表',
        itemInfo: {}
      },
      // 个人求职登记
      jobItem: {
        itemInfoFormTitle: '个人求职登记',
        itemInfo: {}
      },
      checkForm: {
        itemInfoFormTitle: '失业登记年审',
        itemInfo: {}
      },
      recruitItem: {
        itemInfoFormTitle: '空岗信息录入',
        itemInfo: {}
      },
      disForm: {
        itemInfo: {}
      },
      // 申报材料表头
      columns7: [
        { title: '序号', type: 'index', width: 70, align: 'center' },
        { title: '材料名称', key: 'name', width: 200 },
        { title: '审查要点', slot: 'necessary_name', align: 'center' },
        { title: '要件类型', key: 'type_name', align: 'center', width: 100 },
        { title: '是否提交', key: 'is_submit', align: 'center', width: 90 },
        { title: '备注', key: 'remark', width: 260 },
        {
          title: '操作',
          key: 'action',
          align: 'center',
          className: 'nopadding',
          render: (h, params) => {
            let temp = []
            // console.log(this.necessary_name, '@@@@@@')
            if ((this.necessary_name !== '必填') || (this.buttonState === '0' && params.row.necessary_name === '非必填')) {
              if (params.row.write_type === 'images') {
                if (this.formItem.operation) {
                  temp.push(
                    h('Button', {
                      props: { type: 'primary', size: 'small' },
                      style: { marginRight: '5px' },
                      on: {
                        click: () => {
                          if (this.severUserInfo.email === 'JieYuDevice') {
                            this.gpy_mol = true
                            this.gpy_shows = true
                          } else {
                            this.type = 'heightCamera'
                            this.mshow = true
                            this.openNow = true
                          }
                          this.upPicData.fileName = params.row.name + this.datetime2str(new Date()) + '.png'
                          this.fileName = params.row.name.substring(0, 20) + this.datetime2str(new Date()) + '.png'
                          this.upPicData.filePath = 'itemorder/' + this.personinfo.id + '/' + this.$route.params.code
                          this.filePath = this.upPicData.filePath
                          this.formItem.paramIndex = params.index
                        }
                      }
                    }, '高拍仪')
                  )
                  temp.push(
                    h('Button', {
                      props: { type: 'primary', size: 'small' },
                      style: { marginRight: '5px' },
                      on: {
                        click: () => {
                          if (this.severUserInfo.email === 'JieYuDevice') {
                            this.face_mol = true
                            this.face_shows = true
                          } else {
                            this.getIdCardInfo(2)
                          }
                          this.upPicData.fileName = params.row.name + this.datetime2str(new Date()) + '.png'
                          this.fileName = params.row.name.substring(0, 20) + this.datetime2str(new Date()) + '.png'
                          this.upPicData.filePath = 'itemorder/' + this.personinfo.id + '/' + this.$route.params.code
                          this.filePath = this.upPicData.filePath
                          this.formItem.paramIndex = params.index
                        }
                      }
                    }, '拍照')
                  )
                  temp.push(
                    h('Button', {
                      props: { type: 'primary', size: 'small' },
                      style: { marginRight: '5px' },
                      on: {
                        click: () => {
                          console.log(params.index, '下标')
                          this.up_pic_mol = true
                          this.upPicData.fileName = params.row.name + this.datetime2str(new Date())
                          this.upPicData.filePath = 'itemorder/' + this.personinfo.id + '/' + this.$route.params.code
                          this.formItem.paramIndex = params.index
                          this.temp_photo = ''
                        }
                      }
                    }, '上传')
                  )
                  temp.push(
                    h('Button', {
                      props: { type: 'error', size: 'small' },
                      style: { marginRight: '5px' },
                      on: {
                        click: () => {
                          this.formItem.paramIndex = params.index
                          this.getDepositInfo(params.row)
                        }
                      }
                    }, '查找电子证照')
                  )
                }
                if (params.row.is_submit === '已提交') {
                  temp.push(
                    h('Button', {
                      props: { type: 'info', size: 'small' },
                      style: { marginRight: '5px' },
                      on: {
                        click: () => {
                          this.picPreviewMol.pic_urls = params.row.img_urls
                          this.picPreviewMol.preShow = true
                          this.picPreviewMol.picIndex = 0
                          this.formItem.paramIndex = params.index
                        }
                      }
                    }, this.formItem.operation ? '预览' : '查看')
                  )
                }
              } else if (params.row.write_type === 'form') {
                temp.push(
                  h('Button', {
                    props: { type: 'info', size: 'small' },
                    style: { marginRight: '5px' },
                    on: {
                      click: () => {
                        this.formItem.paramIndex = params.index
                        this.showFormInfo(params.row)
                      }
                    }
                  }, this.formItem.operation ? '编辑' : '查看')
                )
              }
            } else {
              console.log('必填')
            }
            if (params.row.sample_table) {
              temp.push(
                h('Button', {
                  props: { type: 'info', size: 'small' },
                  style: { marginRight: '5px' },
                  on: {
                    click: () => {
                      this.showSampleTablef(params.row)
                    }
                  }
                }, '查看样表')
              )
            }
            return h('div', temp)
          }
        }
      ],
      selectList: {
        sexList: disabilitydata.sexList,
        disabilityCategoryList: disabilitydata.disabilityCategoryList,
        applicationMethodList: disabilitydata.applicationMethodList,
        closelyRelatedList: disabilitydata.closelyRelatedList,
        marriageAllList: disabilitydata.marriageAllList,
        educationalLevelList: disabilitydata.educationalLevelList,
        disabilityLevelList: disabilitydata.disabilityLevelList,
        schoolStageList: disabilitydata.schoolStageList,
        learningStyleList: disabilitydata.learningStyleList,
        educationTypeList: disabilitydata.educationTypeList,
        diplomaList: disabilitydata.diplomaList,
        studentList: disabilitydata.studentList,
        fundingTypeList: disabilitydata.fundingTypeList,
        studentAidList: disabilitydata.studentAidList,
        nationList: disabilitydata.nationList,
        householdRegisterTypeList: disabilitydata.householdRegisterTypeList,
        economicSituationList: disabilitydata.economicSituationList,
        medicalInsuranceList: disabilitydata.medicalInsuranceList,
        disabilityCategoryMiniList: disabilitydata.disabilityCategoryMiniList,
        suitableRangeList: disabilitydata.suitableRangeList,
        equipmentNameList: disabilitydata.equipmentNameList,
        subsidiaryCategoryList: disabilitydata.subsidiaryCategoryList,
        assessmentLevelList: disabilitydata.assessmentLevelList,
        selfCareList: disabilitydata.selfCareList,
        whetherList: disabilitydata.whetherList,
        quarterList: disabilitydata.quarterList,
        InsuredType: disabilitydata.InsuredType
      },
      printShow: true
    }
  },
  computed: {
    companyCode () {
      return this.$store.state.user.severUserInfo.company_code
    }
  },
  components: {
    Disability,
    // eslint-disable-next-line vue/no-unused-components
    SplitPane,
    FaceCamera,
    HeightCamera,
    // eslint-disable-next-line vue/no-unused-components
    WlForm,
    DisabledApply,
    UnemploymentItem,
    JobItem,
    insuredRegisterForm,
    insuredChangeForm,
    insuredItemForm,
    HandleCertificate,
    checkCardItem,
    // eslint-disable-next-line vue/no-unused-components
    recruitItem,
    flexibleregister,
    temporaryAssistance,
    WlEquipment,
    childwelfare,
    personForm,
    purchaseHomeCare,
    GllrbtForm,
    personFormTest
  },
  methods: {
    printClick () {
      this.printShow = false
      let that = this
      setTimeout(function () {
        that.printShow = true
      }, 5000)
    },
    printNum (e) {
      this.printIndex = e
      return e
    },
    tempIndex () {
      return '#' + this.printIndex
    },
    showErcode (codeUrl) {
      console.log(codeUrl)
      let _this = this
      console.log(codeUrl)
      setTimeout(function () {
        _this.getCode(codeUrl[0])
      }, 1000)
    },
    getCode (codeUrl) {
      document.getElementById('qrcode1').innerHTML = ''
      var qrcode = new QRCode(document.getElementById('qrcode1'), {
        text: codeUrl,
        top: 0,
        width: 150,
        height: 150,
        colorDark: '#000000',
        colorLight: '#ffffff',
        correctLevel: QRCode.CorrectLevel.H
      })
      console.log(qrcode, 'qrcode')
    },
    getDepositInfo: function (obj) {
      console.log(this.code, 999)
      let data = {
        card_no: this.cardno,
        document_name: obj.value,
        code: this.$route.params.code
      }
      getDepositInfo(data).then(ret => {
        if (ret.data.errcode === 0) {
          if (ret.data.data === null) {
            this.$Notice.error({ title: '失败', desc: '未查询到要件信息' })
          } else {
            this.depositModal = true
            this.depositInfo = ret.data.data
          }
        } else {
          this.$Notice.error({ title: '失败', desc: ret.data.errmsg + '或沉淀要件已过期' })
        }
      })
    },
    showSampleTablef: function (obj) {
      console.log(obj, 999)
      this.showSampleTable.isshow = true
      this.showSampleTable.sample_table = obj.sample_table
    },
    createCopyFiles () {
      let data = {
        filePath: 'itemorder/' + this.personinfo.id + '/' + this.$route.params.code,
        file: this.depositInfo.document_url
      }
      createCopyFiles(data).then(ret => {
        if (ret.data.errcode === 0) {
          let info = JSON.parse(ret.data.data.uploadurl)
          if (info.errcode === 0) {
            let list = this.documentlist[this.formItem.paramIndex]
            if (list.img_urls) {
              list.img_urls.push(info.data)
            } else {
              list.img_urls = [info.data]
            }
            this.changeToView()
            // this.temp_photo = info.data
            // let temp = this.documentlist[this.formItem.paramIndex]
            // temp.is_submit = '已提交'
          } else {
            this.$Notice.error({ title: '失败', desc: ret.data.errmsg })
          }
        } else {
          this.$Notice.error({ title: '失败', desc: ret.data.errmsg })
        }
      })
    },
    getIdCardInfo (type) {
      // console.log('!!!@!@')
      if (type === 1) {
        // console.log('!!@!@!@!')
        this.type = 'idcard'
        this.$refs.wlEquipment.getResult()
      }
      if (type === 2) {
        this.type = 'faceCamera'
        this.mshow = true
        this.openNow = true
      }
    },
    identityInfoVerification () {
      if (this.itemData.name === '' || this.itemData.name === undefined) {
        this.$Notice.error({ title: '请填写姓名', desc: '' })
        return false
      }
      let reg = /(^[1-9]\d{5}(18|19|([23]\d))\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$)|(^[1-9]\d{5}\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\d{3}$)/
      if (reg.test(this.itemData.cardno) === false) {
        this.$Notice.error({ title: '身份证不合法', desc: '' })
        return false
      }
      this.formItem.parentFormShow = false
      this.getValidateRules('0', this.itemData.name, this.itemData.cardno)
    },
    TakePhoto () {
      this.mshow = true
      this.openNow = true
    },
    // imgResult (idcard) {
    //   this.getUserInfo(idcard)
    //   this.userOrderList(idcard)
    //   this.faceStatus = false
    // },
    // 灵活就业登记
    save () {
      this.$refs.handlechild.test()
      return true
    },
    // 招聘登记
    saveRecruit () {
      this.$refs.recruitChild.test()
      return true
    },
    // 年审
    saveCheck () {
      this.$refs.checkChild.checkData()
      return true
    },
    temporarysave () {
      this.$refs.temporary.save()
      return true
    },
    childsave () {
      this.$refs.child.save()
      return true
    },
    savePersonInfo () { // 个人信息保存方法
      this.$refs.personChild.save()
    },
    savePersonInfoTest () { // 测试事项个人信息保存方法
      this.$refs.personTest.save()
    },
    savePurchaseHomeCare () { // 个人信息保存方法
      this.$refs.purchasechild.test()
    },
    saveyanglaoCare () { // 养老保存方法
      this.$refs.gllrbtItem.save()
    },
    // 年审组件回传参数
    checkDatas (data) {
      this.checkForm.itemInfo = data
      this.formItem.checkShow = false
    },
    checkPersonData (item) {
      console.log('222')
      // this.checkForm.itemInfo = data
      this.formItem.personInfoShow = false
    },
    checkPersonDataTest (item) {
      console.log('test')
      // this.checkForm.itemInfo = data
      this.formItem.personInfoTestShow = false
    },
    // 招聘回传参数
    recruit (data) {
      this.recruitItem.itemInfo = data
      this.formItem.recruitShow = false
    },
    // 创业证
    handle () {
      this.$refs.handle.test()
      return true
    },
    // 创业证组件回传参数
    handlecertificateItem (data) {
      this.handleItem.itemInfo = data
      this.formItem.handlecertificateShow = false
    },
    // 灵活就业回传参数
    flexibleregisterItem (data) {
      this.flexItem.itemInfo = data
      this.formItem.temporaryAssistanceShow = false
    },
    // 临时救助
    temporaryAssistanceItem (data) {
      this.temporaryItem.itemInfo = data
      this.formItem.temporaryAssistanceShow = false
    },
    // 儿童救助传回参数
    childItem (data) {
      this.childwelfareItem.itemInfo = data
      this.formItem.childwelfareShow = false
    },
    // 个人求职登记
    saveJobInfo () {
      this.$refs.jobChild.test()
      return true
    },
    // 申请低收入一级残疾人专项救助
    disItem (data) {
      this.disForm.itemInfo = data
      // this.disableItem.disableShow = false
    },
    // 个人求职登记子组件传过来的值
    jobb (data) {
      this.jobItem.itemInfo = data
      this.formItem.jobShow = false
    },
    gllrbtShow (data) {
      this.formItem.itemInfoForm = data
      this.formItem.OldAgeAllowanceShow = false
    },
    purchaseHomeShow (data) {
      this.formItem.itemInfoForm = data
      this.formItem.purchaseHomeCareShow = false
    },
    // 失业登记子组件回传参数
    unemp (data) {
      this.unemploymentItem.itemInfo = data
      this.formItem.unemploymentShow = false
    },
    // 申请失业登记信息保存
    saveUnemploymentInfo () {
      this.$refs.unempchild.test()
      return true
    },
    // 残疾人证保存信息
    saveDisableInfo (itemInfo) {
      let reg = /(^[1-9]\d{5}(18|19|([23]\d))\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$)|(^[1-9]\d{5}\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\d{3}$)/
      if (itemInfo.name === '' || itemInfo.name === undefined) {
        this.$Notice.error({ title: '请填写姓名', desc: '' })
      } else if (itemInfo.sex === '' || itemInfo.sex === undefined) {
        this.$Notice.error({ title: '请填写性别', desc: '' })
      } else if (itemInfo.nation === '' || itemInfo.nation === undefined) {
        this.$Notice.error({ title: '请填写民族', desc: '' })
      } else if (itemInfo.marry === '' || itemInfo.marry === undefined) {
        this.$Notice.error({ title: '请选择婚姻状况', desc: '' })
      } else if (itemInfo.birth === '' || itemInfo.birth === undefined) {
        this.$Notice.error({ title: '请出生日期', desc: '' })
      } else if (itemInfo.ownership === '' || itemInfo.ownership === undefined) {
        this.$Notice.error({ title: '请填写籍贯', desc: '' })
      } else if (reg.test(itemInfo.IDcard) === false) {
        this.$Notice.error({ title: '身份证不合法', desc: '' })
      } else if (itemInfo.education === '' || itemInfo.education === undefined) {
        this.$Notice.error({ title: '请填写文化程度', desc: '' })
      } else if (itemInfo.address === '' || itemInfo.address === undefined) {
        this.$Notice.error({ title: '请填写户籍地址', desc: '' })
      } else if (itemInfo.nowAddress === '' || itemInfo.nowAddress === undefined) {
        this.$Notice.error({ title: '请填写现住址', desc: '' })
      } else if (itemInfo.contactsName === '' || itemInfo.contactsName === undefined) {
        this.$Notice.error({ title: '请填写现联系人活监护人姓名', desc: '' })
      } else if (itemInfo.contacts === '' || itemInfo.contacts === undefined) {
        this.$Notice.error({ title: '请填写与申请人关系', desc: '' })
      } else if (itemInfo.contactsPhone === '' || itemInfo.contactsPhone === undefined) {
        this.$Notice.error({ title: '请填写现联系电话', desc: '' })
      } else if (itemInfo.receiverTime === '' || itemInfo.receiverTime === undefined) {
        this.$Notice.error({ title: '请选择受理时间', desc: '' })
      }
    },
    // 时间转字符串 年月日时分秒
    datetime2str (date) {
      let time1 = date.getFullYear() + ''
      let month = date.getMonth() + 1
      let day = date.getDate()
      let hh = date.getHours()
      let mm = date.getMinutes()
      let ss = date.getSeconds()
      time1 += month < 10 ? '0' + month : month
      time1 += day < 10 ? '0' + day : day
      time1 += hh < 10 ? '0' + hh : hh
      time1 += mm < 10 ? '0' + mm : mm
      time1 += ss < 10 ? '0' + ss : ss
      return time1
    },
    modalChange (e) {
      this.face_shows = e
    },
    modalChange2 (e) {
      this.gpy_shows = e
    },
    modalChange3 (e) {
      this.openNow = e
    },
    // 页面内提交材料发生变化时刷新表格数据动态
    changeToView () {
      this.formItem.reloadTabel = true
      let temp = this.documentlist[this.formItem.paramIndex]
      if (temp.img_urls || temp.write_type === 'form') {
        temp.is_submit = '已提交'
      }
      this.$nextTick(() => {
        this.formItem.reloadTabel = false
      })
    },
    // 社区证明事项的表单信息校验
    saveJzInfo (flag) {
      if (!this.formItem.itemInfoForm.holder) {
        this.$Notice.error({ title: '请填写持证者', desc: '' })
        return false
      }
      if (!this.formItem.itemInfoForm.xb) {
        this.$Notice.error({ title: '请填写性别', desc: '' })
        return false
      }
      if (!this.formItem.itemInfoForm.holder_code) {
        this.$Notice.error({ title: '请填写证件号码', desc: '' })
        return false
      }
      if (!this.formItem.itemInfoForm.sxzm) {
        this.$Notice.error({ title: '请填写所需证明', desc: '' })
        return false
      }
      if (!this.formItem.itemInfoForm.xzz) {
        this.$Notice.error({ title: '请填写现住址', desc: '' })
        return false
      }
      if (!this.formItem.itemInfoForm.qtqk) {
        this.$Notice.error({ title: '请填写其他情况', desc: '' })
        return false
      }
      if (flag) {
        this.documentlist[this.formItem.paramIndex].formdata = this.formItem.itemInfoForm
      }
      this.formItem.communityProveShow = false
      this.changeToView()
      return true
    },
    saveInfo (flag) {
      if ((['3', '2', '1']).indexOf(this.buttonState) !== -1) {
        this.formItem.subsidyFormShow = false
        return true
      }
      if (!this.formItem.itemInfoForm.apply_date) {
        this.$Notice.error({ title: '请填写申请时间', desc: '' })
        return false
      }
      if (!this.formItem.itemInfoForm.issuing_time) {
        this.$Notice.error({ title: '请填写发证时间', desc: '' })
        return false
      } else {
        this.formItem.itemInfoForm.issuing_time = date2str(this.formItem.itemInfoForm.issuing_time)
      }
      if (!this.formItem.itemInfoForm.bank_name) {
        this.$Notice.error({ title: '请填写银行名称', desc: '' })
        return false
      }
      if (!this.formItem.itemInfoForm.bank_peoplename) {
        this.$Notice.error({ title: '请填写银行账户名', desc: '' })
        return false
      }
      if (!this.formItem.itemInfoForm.bank_cardno) {
        this.$Notice.error({ title: '请填写银行卡号', desc: '' })
        return false
      }

      if (flag) {
        this.documentlist[this.formItem.paramIndex].formdata = this.formItem.itemInfoForm
      }
      this.formItem.subsidyFormShow = false
      this.changeToView()
      return true
    },
    isDuringDate (birthday) {
      var curDate = new Date()
      var beginDate = curDate.getFullYear() - 3
      var endDate = beginDate - 3
      birthday = new Date(birthday)
      beginDate = new Date(beginDate + '09-01')
      endDate = new Date(endDate + '08-31')

      if (birthday >= beginDate && birthday <= endDate) {
        return true
      }
      return false
    },
    // 保存残疾人助学金申请表
    saveStudentInfo (flag) {
      const arr = ['aaa120', 'aaa121', 'aac001', 'aac002', 'aac003', 'aac004', 'aac006', 'aac019', 'aac01a', 'aec01d', 'age', 'aec01c', 'aec01b', 'aac081', 'aac082', 'aac083']
      let reg = /^((13[0-9])|(14[0-9])|(17[0-1,6-8])|(15[^4,\\D])|(18[0-9]))\d{8}$/
      let param = {}
      let index = 0

      if (this.itemData.item_id === '11210101000000CLJD5212000229001') {
        index = 5
        arr.push('adc013', 'adc015', 'adc016', 'aec01z', 'aec211', 'aec213', 'aec215', 'aec217')
        param = {
          aac001: this.formItem.itemInfoForm.aac001,
          item_id: this.itemData.item_id
        }
        if (this.formItem.itemInfoForm.aac01d === '' || this.formItem.itemInfoForm.aac01d === undefined) {
          this.$Notice.error({ title: '移动电话不能为空', desc: '' })
          return false
        } else if (reg.test(this.formItem.itemInfoForm.aac01d) === false) {
          this.$Notice.error({ title: '移动号码不正确,请输入11位正确的手机号', desc: '' })
          return false
        }
      } else if (this.itemData.item_id === '11210101000000CLJD5212000229002') {
        index = 4
        arr.push('aac003a', 'aac002a', 'aac004a', 'aec01z', 'aec111', 'agea', 'adc016a', 'aec012', 'aec014')
        if (!this.formItem.itemInfoForm.aec01b) {
          this.$Notice.error({ title: '请填写申请年度', desc: '' })
          return false
        }
        if (!this.formItem.itemInfoForm.aec01c) {
          this.$Notice.error({ title: '请填写申请日期', desc: '' })
          return false
        }
        if (!this.formItem.itemInfoForm.aaa121 || !this.formItem.itemInfoForm.aaa120) {
          this.$Notice.error({ title: '请手动选择社区信息,自动匹配所在地区与地区码', desc: '' })
          return false
        }
        if (this.formItem.itemInfoForm.aac01d === '' || this.formItem.itemInfoForm.aac01d === undefined) {
          this.$Notice.error({ title: '移动电话不能为空', desc: '' })
          return false
        } else if (reg.test(this.formItem.itemInfoForm.aac01d) === false) {
          this.$Notice.error({ title: '移动号码不正确,请输入11位正确的手机号', desc: '' })
          return false
        }
        if (this.formItem.itemInfoForm.aac01da === '' || this.formItem.itemInfoForm.aac01da === undefined) {
          this.$Notice.error({ title: '家长电话不能为空', desc: '' })
          return false
        } else if (reg.test(this.formItem.itemInfoForm.aac01da) === false) {
          this.$Notice.error({ title: '家长电话不正确,请输入11位正确的手机号', desc: '' })
          return false
        }
        param = {
          aac001: this.formItem.itemInfoForm.aac001,
          aac002: this.formItem.itemInfoForm.aac002,
          item_id: this.itemData.item_id
        }
      } else if (this.itemData.item_id === '11210101000000CLJD5212000229003') {
        index = 3
        arr.push('aac003a', 'aac002a', 'aac004a', 'aec01z', 'agea', 'adc016a', 'aec012', 'aec014', 'aec111', 'aec112')
        if (!this.formItem.itemInfoForm.aec01b) {
          this.$Notice.error({ title: '请填写申请年度', desc: '' })
          return false
        }
        if (!this.formItem.itemInfoForm.aec01c) {
          this.$Notice.error({ title: '请填写申请日期', desc: '' })
          return false
        }
        if (!this.formItem.itemInfoForm.aaa121 || !this.formItem.itemInfoForm.aaa120) {
          this.$Notice.error({ title: '请填写手动选择社区信息', desc: '' })
          return false
        }
        if (this.formItem.itemInfoForm.aac01d === '' || this.formItem.itemInfoForm.aac01d === undefined) {
          this.$Notice.error({ title: '移动电话不能为空', desc: '' })
          return false
        } else if (reg.test(this.formItem.itemInfoForm.aac01d) === false) {
          this.$Notice.error({ title: '移动号码不正确,请输入11位正确的手机号', desc: '' })
          return false
        }
        if (this.formItem.itemInfoForm.aac01da === '' || this.formItem.itemInfoForm.aac01da === undefined) {
          this.$Notice.error({ title: '家长电话不能为空', desc: '' })
          return false
        } else if (reg.test(this.formItem.itemInfoForm.aac01da) === false) {
          this.$Notice.error({ title: '家长电话不正确,请输入11位正确的手机号', desc: '' })
          return false
        }
        param = {
          aac001: this.formItem.itemInfoForm.aac001,
          aec01b: this.formItem.itemInfoForm.aec01b,
          aac002: this.formItem.itemInfoForm.aac002,
          item_id: this.itemData.item_id
        }
      } else if (this.itemData.item_id === '11210101000000CLJD5212000229004') {
        index = 2
        arr.push('adc013', 'adc015', 'adc016', 'aec01z', 'aac01d', 'aec012', 'aec014', 'aec117')
        if (!this.formItem.itemInfoForm.aec01b) {
          this.$Notice.error({ title: '请填写申请年度', desc: '' })
          return false
        }
        if (!this.formItem.itemInfoForm.aec01c) {
          this.$Notice.error({ title: '请填写申请日期', desc: '' })
          return false
        }
        if (this.formItem.itemInfoForm.aac01d === '' || this.formItem.itemInfoForm.aac01d === undefined) {
          this.$Notice.error({ title: '移动电话不能为空', desc: '' })
          return false
        } else if (reg.test(this.formItem.itemInfoForm.aac01d) === false) {
          this.$Notice.error({ title: '移动号码不正确,请输入11位正确的手机号', desc: '' })
          return false
        }
        param = {
          aac001: this.formItem.itemInfoForm.aac001,
          aec01b: this.formItem.itemInfoForm.aec01b,
          item_id: this.itemData.item_id
        }
      } else if (this.itemData.item_id === '11210101000000CLJD5212000229005') {
        index = 1
        arr.push('adc013', 'adc015', 'adc016', 'adc01a', 'aec011', 'aec012', 'aec013', 'aec014')
        if (!this.formItem.itemInfoForm.aec01b) {
          this.$Notice.error({ title: '请填写申请年度', desc: '' })
          return false
        }
        if (!this.formItem.itemInfoForm.aec01c) {
          this.$Notice.error({ title: '请填写申请日期', desc: '' })
          return false
        }
        if (!this.formItem.itemInfoForm.aec011) {
          this.$Notice.error({ title: '请填写就学阶段', desc: '' })
          return false
        }
        if (this.formItem.itemInfoForm.aec011 === '1' && this.isDuringDate(this.formItem.itemInfoForm.aac006)) {
          this.$Notice.error({ title: '学龄前：必须满足年龄在 3 至 6 岁之间', desc: '' })
          return false
        }
        if (!this.formItem.itemInfoForm.aac01c && !this.formItem.itemInfoForm.aac01d) {
          this.$Notice.error({ title: '申请人固定电话与移动电话两项必填一项', desc: '' })
          return false
        } else if (this.formItem.itemInfoForm.aac01d && reg.test(this.formItem.itemInfoForm.aac01d) === false) {
          this.$Notice.error({ title: '移动号码不正确,请输入11位正确的手机号', desc: '' })
          return false
        }
        if (!this.formItem.itemInfoForm.adc01e && !this.formItem.itemInfoForm.adc01d) {
          this.$Notice.error({ title: '联系人固定电话与移动电话两项必填一项', desc: '' })
          return false
        }
        param = {
          aac001: this.formItem.itemInfoForm.aac001,
          aec01b: this.formItem.itemInfoForm.aec01b,
          aec011: this.formItem.itemInfoForm.aec011,
          item_id: this.itemData.item_id
        }
      }

      for (let i = 0; i < arr.length; i++) {
        if (this.formItem.itemInfoForm[arr[i]] === '' || this.formItem.itemInfoForm[arr[i]] === undefined) {
          this.$Notice.error({ title: '提交失败', desc: this.formItem.checkStudentInfo[arr[i]] })
          return false
        }
      }

      repeatApplicationValidation(param).then(res => {
        if (res.data.errcode === 0) {
          this.ruleData = res.data.data
          if (this.ruleData.code !== '1') {
            this.$Notice.error({ title: this.ruleData.msg })
            return false
          }
          if (flag) {
            this.documentlist[this.formItem.paramIndex].formdata = this.formItem.itemInfoForm
          }
          this.formItem['studentFormShow' + index] = false
          this.changeToView()
          return true
        } else {
          this.$Notice.error({ title: res.data.errmsg })
        }
      })
    },
    // 保存残疾人辅助器具申请表
    saveAssistiveevicesInfo (flag) {
      const arr = ['aaa120', 'aaa121', 'aac001', 'aac002', 'aac003', 'aac004', 'aac005', 'aac006', 'age', 'aac009', 'aac019', 'aac01a', 'aac01d', 'acc511', 'acc512', 'acc51m', 'aca050', 'aca051', 'aca052', 'aca053', 'aca057', 'aca058', 'aca059']
      let reg = /^((13[0-9])|(14[0-9])|(17[0-1,6-8])|(15[^4,\\D])|(18[0-9]))\d{8}$/
      if (!this.formItem.itemInfoForm.acc51n) {
        this.$Notice.error({ title: '请填写申请日期', desc: '' })
        return false
      }
      if (!this.formItem.itemInfoForm.aaa121 || !this.formItem.itemInfoForm.aaa120) {
        this.$Notice.error({ title: '请填写手动选择社区信息', desc: '' })
        return false
      }
      if (reg.test(this.formItem.itemInfoForm.aac01d) === false) {
        this.$Notice.error({ title: '移动号码不正确,请输入11位正确的手机号', desc: '' })
        return false
      }

      let param = {
        aac001: this.formItem.itemInfoForm.aac001 !== ('' || undefined) ? this.formItem.itemInfoForm.aac001 : 0,
        aac002: this.$route.params.cardno || this.personinfo.cardno,
        aac003: this.$route.params.name || this.personinfo.name,
        aca051: this.formItem.itemInfoForm.aca051 || this.$route.params.aca051,
        aca052: this.formItem.itemInfoForm.aca052 || this.$route.params.aca052,
        aca053: this.formItem.itemInfoForm.aca053 || this.$route.params.aca053,
        item_id: this.itemData.item_id
      }

      for (let i = 0; i < arr.length; i++) {
        if (this.formItem.itemInfoForm[arr[i]] === '' || this.formItem.itemInfoForm[arr[i]] === undefined) {
          this.$Notice.error({ title: '提交失败', desc: this.formItem.checkStudentInfo[arr[i]] })
          return false
        }
      }

      repeatApplicationValidation(param).then(res => {
        if (res.data.errcode === 0) {
          this.ruleData = res.data.data
          if (this.ruleData.code !== '1') {
            this.$Notice.error({ title: this.ruleData.msg })
            return false
          }
          if (flag) {
            this.documentlist[this.formItem.paramIndex].formdata = this.formItem.itemInfoForm
          }
          this.formItem.assistiveevicesFormShow = false
          this.changeToView()
          return true
        } else {
          this.$Notice.error({ title: res.data.errmsg })
        }
      })
    },
    // 保存低收入一级残疾人专项救助金
    saveOneDisabledMoney (flag) {
      const arr = ['agc117', 'aaa120', 'aac001', 'aac002', 'aac003', 'aac004', 'aac005', 'aac006', 'age', 'adc013', 'adc015', 'adc016', 'aac019', 'aac01a', 'agc111', 'agc114', 'aac081', 'aac082', 'aac083']
      let reg = /^((13[0-9])|(14[0-9])|(17[0-1,6-8])|(15[^4,\\D])|(18[0-9]))\d{8}$/

      if (!this.formItem.itemInfoForm.aaa121 || !this.formItem.itemInfoForm.aaa120) {
        this.$Notice.error({ title: '请填写手动选择社区信息', desc: '' })
        return false
      }

      if (reg.test(this.formItem.itemInfoForm.aac01d) === false) {
        this.$Notice.error({ title: '移动号码不正确,请输入11位正确的手机号', desc: '' })
        return false
      }

      if (!this.formItem.itemInfoForm.adc01e && !this.formItem.itemInfoForm.adc01d) {
        this.$Notice.error({ title: '联系人固定电话与移动电话两项必填一项', desc: '' })
        return false
      }

      let param = {
        aac001: this.formItem.itemInfoForm.aac001 !== ('' || undefined) ? this.formItem.itemInfoForm.aac001 : 0,
        aac002: this.$route.params.cardno || this.personinfo.cardno,
        item_id: this.itemData.item_id
      }

      for (let i = 0; i < arr.length; i++) {
        if (this.formItem.itemInfoForm[arr[i]] === '' || this.formItem.itemInfoForm[arr[i]] === undefined) {
          this.$Notice.error({ title: this.formItem.checkStudentInfo[arr[i]], desc: arr[i] })
          return false
        }
      }

      repeatApplicationValidation(param).then(res => {
        if (res.data.errcode === 0) {
          this.ruleData = res.data.data
          if (res.data.data.code !== 1) {
            this.$Notice.error({ title: this.ruleData.msg })
            return false
          }
          if (flag) {
            this.documentlist[this.formItem.paramIndex].formdata = this.formItem.itemInfoForm
          }
          this.formItem.disModal1 = false
          this.changeToView()
          return true
        } else {
          this.$Notice.error({ title: res.data.errmsg })
        }
      })
    },
    // 保存55-59周岁参加城乡居民养老保险的重度残疾人生活补助
    saveDisabledSalvageMoney (flag) {
      const arr = ['aaa120', 'aac001', 'aac002', 'aac003', 'aac004', 'aac005', 'aac006', 'age', 'adc013', 'adc015', 'adc016', 'aac019', 'aac01a', 'ajc111', 'ajc114', 'ajc115', 'ajc116', 'ajc117', 'aac081', 'aac082', 'aac083']
      let reg = /^((13[0-9])|(14[0-9])|(17[0-1,6-8])|(15[^4,\\D])|(18[0-9]))\d{8}$/

      if (reg.test(this.formItem.itemInfoForm.aac01d) === false) {
        this.$Notice.error({ title: '移动号码不正确,请输入11位正确的手机号', desc: '' })
        return false
      }

      if (!this.formItem.itemInfoForm.adc01e && !this.formItem.itemInfoForm.adc01d) {
        this.$Notice.error({ title: '联系人固定电话与移动电话两项必填一项', desc: '' })
        return false
      }

      let param = {
        aac001: this.formItem.itemInfoForm.aac001,
        ajc114: this.formItem.itemInfoForm.ajc114,
        ajc115: this.formItem.itemInfoForm.ajc115,
        item_id: this.itemData.item_id
      }

      for (let i = 0; i < arr.length; i++) {
        if (this.formItem.itemInfoForm[arr[i]] === '' || this.formItem.itemInfoForm[arr[i]] === undefined) {
          this.$Notice.error({ title: '提交失败', desc: this.formItem.checkStudentInfo[arr[i]] })
          return false
        }
      }
      this.formItem.itemInfoForm.ajc117 = date2str(this.formItem.itemInfoForm.ajc117)
      repeatApplicationValidation(param).then(res => {
        if (res.data.errcode === 0) {
          this.ruleData = res.data.data
          if (res.data.data.code !== '1') {
            this.$Notice.error({ title: '验证失败', desc: this.ruleData.msg })
            return false
          }
          this.formItem.disabilityZDSHBT = false
          this.changeToView()
          return true
        } else {
          this.$Notice.error({ title: '验证失败', desc: this.ruleData.msg })
          return false
        }
      })
    },
    CheckIsNullOrEmpty (value) {
      // 返回值为true表示不是空字符串
      return (value !== null && value !== undefined)
    },
    // 申请办理《中华人民共和国残疾人证》
    saveDisabilityCertificate (flag, show) {
      const arr = ['aaa120', 'aac002', 'aac003', 'aac004', 'aac005', 'aac006', 'age', 'aac019', 'adc111', 'adc114']
      let reg = /^((13[0-9])|(14[0-9])|(17[0-1,6-8])|(15[^4,\\D])|(18[0-9]))\d{8}$/
      let rsg = /(^[1-9]\d{5}(18|19|([23]\d))\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$)|(^[1-9]\d{5}\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\d{3}$)/
      if (rsg.test(this.formItem.itemInfoForm.aac002) === false) {
        this.$Notice.error({ title: '身份证不合法', desc: '' })
        return false
      }
      if (this.getAge(this.$route.params.cardno) >= 16 && !this.formItem.itemInfoForm.aac01c && !this.formItem.itemInfoForm.aac01d) {
        this.$Notice.error({ title: '申请人固定电话与移动电话两项必填一项', desc: '' })
        return false
      } else if (this.getAge(this.$route.params.cardno) >= 16 && this.formItem.itemInfoForm.aac01d && reg.test(this.formItem.itemInfoForm.aac01d) === false) {
        this.$Notice.error({ title: '移动号码不正确,请输入11位正确的手机号', desc: '' })
        return false
      }
      if (!this.formItem.itemInfoForm.adc01e && !this.formItem.itemInfoForm.adc01d && this.getAge(this.$route.params.cardno) < 16) {
        this.$Notice.error({ title: '联系人固定电话与移动电话两项必填一项', desc: '' })
        return false
      }
      if (this.CheckIsNullOrEmpty(this.formItem.itemInfoForm.adc01b) && rsg.test(this.formItem.itemInfoForm.adc01b) === false) {
        this.$Notice.error({ title: '联系人身份证不合法', desc: '' })
        return false
      }

      let param = {
        name: this.formItem.itemInfoForm.aac003,
        cardno: this.formItem.itemInfoForm.aac002,
        item_id: this.itemData.item_id
      }

      for (let i = 0; i < arr.length; i++) {
        if (this.formItem.itemInfoForm[arr[i]] === '' || this.formItem.itemInfoForm[arr[i]] === undefined) {
          this.$Notice.error({ title: '提交失败', desc: this.formItem.checkStudentInfo[arr[i]] })
          return false
        }
      }

      checkDisabilityCertificateAll(param).then(res => {
        if (res.data.errcode === 0) {
          this.ruleData = res.data.data
          if (res.data.data.code !== '1') {
            this.$Notice.error({ title: '验证失败', desc: this.ruleData.msg })
            return false
          }

          this.formItem[show] = false
          this.changeToView()
          return true
        } else {
          this.$Notice.error({ title: '验证失败', desc: this.ruleData.msg })
          return false
        }
      })
    },
    // 保存死亡证明表
    saveDeathInfo (flag) {
      if (!this.formItem.itemInfoForm.sxdw) {
        this.$Notice.error({ title: '请填写所需单位', desc: '' })
        return false
      }
      if (!this.formItem.itemInfoForm.szxm) {
        this.$Notice.error({ title: '请填写死者姓名', desc: '' })
        return false
      }
      if (!this.formItem.itemInfoForm.xb) {
        this.$Notice.error({ title: '请选择性别', desc: '' })
        return false
      }
      if (!this.formItem.itemInfoForm.sfzh) {
        this.$Notice.error({ title: '请填写死者身份证号', desc: '' })
        return false
      }
      if (!this.formItem.itemInfoForm.jtzz) {
        this.$Notice.error({ title: '请填写家庭住址', desc: '' })
        return false
      }
      if (!this.formItem.itemInfoForm.szgx) {
        this.$Notice.error({ title: '请填写与死者关系', desc: '' })
        return false
      }
      var reg = /(^[1-9]\d{5}(18|19|([23]\d))\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$)|(^[1-9]\d{5}\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\d{3}$)/
      if (!reg.test(this.formItem.itemInfoForm.sfzh)) {
        this.$Notice.error({ title: '身份证输入不合法' })
        return false
      }
      this.formItem.itemInfoForm.holder = this.personinfo.name || ''
      this.formItem.itemInfoForm.holder_code = this.$route.params.cardno || ''
      if (flag) {
        this.documentlist[this.formItem.paramIndex].formdata = this.formItem.itemInfoForm
      }
      this.formItem.deathProveShow = false
      this.changeToView()
      return true
    },
    // 新高拍仪拍照回调函数
    change1 (data) {
      if (data.url) {
        // this.mshow = false
        // this.openNow = false
        let list = this.documentlist[this.formItem.paramIndex]
        if (list.img_urls) {
          list.img_urls.push(data.url)
        } else {
          list.img_urls = [data.url]
        }
        this.changeToView()
      } else {
        this.$Notice.error({ title: '拍照失败,请重新拍摄' })
      }
    },
    // 拍照回调函数
    imgResult (data) {
      if (data.url) {
        this.face_mol = false
        this.face_shows = false
        let list = this.documentlist[this.formItem.paramIndex]
        if (list.img_urls) {
          list.img_urls.push(data.url)
        } else {
          list.img_urls = [data.url]
        }
        this.changeToView()
      } else {
        this.$Notice.error({ title: '拍照失败,请重新拍摄' })
      }
    },
    // 高拍仪保存函数
    retFun (data) {
      if (data.url) {
        this.gpy_mol = false
        this.gpy_shows = false
        let list = this.documentlist[this.formItem.paramIndex]
        if (list.img_urls) {
          list.img_urls.push(data.url)
        } else {
          list.img_urls = [data.url]
        }
        this.changeToView()
      } else {
        this.$Notice.error({ title: '拍照失败,请重新拍摄' })
      }
    },
    // 新设备高拍仪保存函数
    geyImgUrl (data) {
      if (data.url) {
        this.gpy_mol = false
        this.gpy_shows = false
        let list = this.documentlist[this.formItem.paramIndex]
        if (list.img_urls) {
          list.img_urls.push(data.url)
        } else {
          list.img_urls = [data.url]
        }
        this.changeToView()
      } else {
        this.$Notice.error({ title: '拍照失败,请重新拍摄' })
      }
    },
    // 把图片文件作为参数传递到方法中进行压缩
    beforeAvatarUpload (file) {
      const isJpgOrPng = file.type === 'image/jpeg' || file.type === 'image/png'
      if (!isJpgOrPng) {
        this.$Notice.error({ title: '上传失败', desc: '上传头像图片只能是 JPG 或 PNG 格式!' })
        return false
      }
      return new Promise(() => {
        imageConversion.compressAccurately(file, 200).then(res => {
          let that = this
          const reader = new FileReader()
          reader.readAsDataURL(new File([res], '', { type: res.type, lastModified: Date.now() }))
          reader.onload = () => {
            let index = reader.result.indexOf('base64,') + 7
            that.upPicData.fileName = this.upPicData.fileName + '.' + file.type.substring(6)
            that.upPicData.file = reader.result.substring(index)
            that.upPic(that.upPicData)
          }
        })
      })
    },
    // 上传图片前转base64
    beforeUpload (file) {
      // var testmsg = file.name.substring(file.name.lastIndexOf('.') + 1)
      console.log(file, '图片文件')
      // const item_id = ['11210101000000RSJD5212000233000', '11210101000000MZJD5212000474000', '11210101000000MZJD5212000475000']
      if (file.size / 1024 / 1024 > 1) { // 超过1M 压缩 图片为200K
        return this.beforeAvatarUpload(file)
      }
      const isLt2M = file.size / 1024 / 1024 < 8
      console.log(isLt2M)
      if (!isLt2M) {
        this.$Notice.error({ title: '上传失败', desc: '请上传图片小于8M的图片' })
        return
      }
      // return isLt2M
      this.upPicData.fileName = this.upPicData.fileName + '.' + file.type.substring(6)
      let that = this
      const reader = new FileReader()
      reader.readAsDataURL(file)
      reader.onload = () => {
        let index = reader.result.indexOf('base64,') + 7
        that.upPicData.file = reader.result.substring(index)
        that.upPic(that.upPicData)
      }
      return false
    },
    // 上传图片
    upPic (obj) {
      var time = new Date().getTime()
      this.timeStep = time.toString()
      let param = {
        filePath: obj.filePath,
        fileName: obj.fileName,
        timestamp: this.timeStep
      }
      if (param.fileName.length > 20) {
        param.fileName = param.fileName.substring(0, 20) + '.png'
      }
      getSign(param).then(res => {
        if (res.data.errcode === 0) {
          createUpLoadFiles(res.data.data.docking_url, {
            sign: res.data.data.sign,
            timestamp: this.timeStep,
            filePath: param.filePath,
            fileName: param.fileName,
            file: obj.file
          }).then(res => {
            if (res.data.errcode === 0) {
              let imgurl = res.data.data
              let list = this.documentlist[this.formItem.paramIndex]
              if (list.img_urls) {
                list.img_urls.push(imgurl)
              } else {
                list.img_urls = [imgurl]
              }
              this.temp_photo = imgurl
              console.log(this.formItem.operation)
              console.log(this.documentlist[this.formItem.paramIndex], 'documern')
            } else {
              this.$Notice.error({ title: '上传失败', desc: res.data.data.msg })
            }
          })
        } else {
          this.$Notice.error({ title: '上传失败', desc: res.data.data.msg })
        }
      })
    },
    parentFormShowInfo () {
      let param = {
        name: this.personinfo.name,
        cardno: this.$route.params.cardno,
        item_id: this.itemData.item_id
      }
      authentication(param).then(res => {
        if (res.data.errcode === 0) {
          this.ruleData = res.data.data.data
          if (res.data.data.code !== '1') {
            this.$Notice.error({ title: '获取人员信息失败', desc: res.data.data.msg })
            return
          }
          this.formItem.parentFormShow = true
        }
      })
    },
    // 全部表单弹出框的入口
    showFormInfo (item) {
      if (!this.itemData.form_params) {
        if (item.form_path === 'studentFormShow3' || item.form_path === 'studentFormShow4') {
          this.parentFormShowInfo()
          this.formItem.itemInfoFormTitle = item.name
          return
        }
      } else if (item.form_path === 'studentFormShow3' || item.form_path === 'studentFormShow4') {
        var form_param = JSON.parse(this.itemData.form_params)
        if (form_param.aac003 === undefined || form_param.aac003 === '') {
          this.parentFormShowInfo()
          this.formItem.itemInfoFormTitle = item.name
          return
        }
      }

      this.formItem[item.form_path] = true
      this.formItem.itemInfoFormTitle = item.name
      if (this.itemData.form_params) { // 编辑
        this.formItem.itemInfoForm = JSON.parse(this.itemData.form_params)
        console.log(this.formItem.itemInfoForm, '表单数据')
        // this.personFormInfo = this.formItem.itemInfoForm
      }
      if (item.form_path === 'communityProveShow') {
        // 居住证明表单[婚育证明]
        // this.formItem.itemInfoForm.sxzm = '主送单位'
        // this.formItem.itemInfoForm.qtqk = '本人确认在此社区居住'
        this.formItem.itemInfoForm.holder = this.personinfo.name || ''
        this.formItem.itemInfoForm.xb = this.personinfo.sex || ''
        this.formItem.itemInfoForm.holder_code = this.$route.params.cardno || ''
        this.formItem.itemInfoForm.xzz = this.personinfo.present_address || this.formItem.itemInfoForm.xzz
        if (this.itemData.item_id === '11210101000000WJJD5212000268000') {
          let index1 = this.severUserInfo.company_name.indexOf('街道')
          this.formItem.itemInfoForm.sxzm = this.severUserInfo.company_name.substring(index1 + 2)
        }
      } else if (item.form_path === 'dbFrom') {
        var date = new Date()
        if (this.itemData.form_params === null) {
          var list = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]
          this.dbForminfo.Year = date.getFullYear()
          this.dbMonthList = list.slice(0, date.getMonth() + 1)
        } else {
          this.dbForminfo = JSON.parse(this.itemData.form_params)
        }
        if (this.dbForminfo.Month === '' || this.dbForminfo.Year === '' || this.dbForminfo.Month === null || this.dbForminfo.Year === null) {
        } else {
          var list1 = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]
          this.dbMonthList = list1.slice(0, this.dbForminfo.Month)
        }

        this.dbModal = true
      } else if (item.form_path === 'disModal') {
        // this.formItem.itemInfoForm = JSON.parse(this.itemData.form_params)
        this.$refs.child.init(this.itemData.form_params)
        this.disModal = true
      } else if (item.form_path === 'disModal1') { // 测试残疾人一级证办理
        if (this.itemData.form_params) { // 编辑
          this.formItem.itemInfoForm = JSON.parse(this.itemData.form_params)
        } else {
          this.getValidateRules3(this.personinfo.name, this.$route.params.cardno)
        }
      } else if (item.form_path === 'temporaryAssistanceShow') {
        // 临时救助
        this.time1 = new Date()
        this.time1 = date2str(this.time1)
        this.unemploymentItem1 = JSON.parse(this.itemData.form_params)
        this.unemploymentItem.itemInfo = this.unemploymentItem1
      } else if (item.form_path === 'childwelfareShow') {
        // 儿童福利表
        this.unemploymentItem1 = JSON.parse(this.itemData.form_params)
        this.childwelfareItem.itemInfo = this.unemploymentItem1
      } else if (item.form_path === 'unemploymentShow') {
        // 失业登记表单
        console.log('@#！@#@！#！@#！#！@')
        this.unemploymentItem1 = JSON.parse(this.itemData.form_params)
        this.unemploymentItem.itemInfo = this.unemploymentItem1
      } else if (item.form_path === 'handlecertificateShow') {
        // 就业创业证
        if (this.itemData.form_params) {
          this.unemploymentItem1 = JSON.parse(this.itemData.form_params)
        }
        this.documentlist.forEach(element => {
          if (element.write_type === 'images' && element.img_urls) {
            if (element.document_id === 370) {
              this.unemploymentItem1.acc0mg = element.img_urls.toString()
              this.unemploymentItem1.apiName = 'sq4jycyz'
            }
          }
        })
        this.handleItem.itemInfo = this.unemploymentItem1
      } else if (item.form_path === 'checkShow') {
        // 年审
        this.unemploymentItem1 = JSON.parse(this.itemData.form_params)
        this.handleItem.itemInfo = this.unemploymentItem1
      } else if (item.form_path === 'flexibleregisterShow') {
        // 灵活登记
        this.unemploymentItem1 = JSON.parse(this.itemData.form_params)
        this.handleItem.itemInfo = this.unemploymentItem1
      } else if (item.form_path === 'recruitShow') {
        // 空岗录入
        this.unemploymentItem1 = JSON.parse(this.itemData.form_params)
        this.handleItem.itemInfo = this.unemploymentItem1
      } else if (item.form_path === 'jobShow') {
        // 个人求职
        this.unemploymentItem12 = JSON.parse(this.itemData.form_params)
        this.handleItem.itemInfo = this.unemploymentItem12
      } else if (item.form_path === 'OldAgeAllowanceShow') {
        // 沈阳老人
        console.log(this.itemData.form_params, '@@@@@')
        if (this.itemData.form_params) {
          this.formItem.itemInfoForm = JSON.parse(this.itemData.form_params)
        } else {
          this.$refs.gllrbtItem.savePersonInfo(this.personinfo)
        }
        // console.log(this.formItem.itemInfoForm, 'this.formItem.itemInfoForm') // 单项保存,清空表
        if (this.itemData.form_params) {
          this.formItem.itemInfoForm = JSON.parse(this.itemData.form_params)
          console.log(this.formItem.itemInfoForm, 'this.formItem.itemInfoForm') // 单项保存,清空表
        }
      } else if (item.form_path === 'deathProveShow') {
        if (this.formItem.itemInfoForm.jmlx) {
          this.formItem.itemInfoForm.jmlx_a = this.formItem.itemInfoForm.jmlx.split(',')
        }
        // 死亡证明表单
        this.formItem.itemInfoForm.holder = this.personinfo.name || ''
        this.formItem.itemInfoForm.holder_code = this.$route.params.cardno || ''
      } else if (item.form_path === 'subsidyFormShow') {
        // 残疾人双残补贴表单
        // this.getDisabledInfo()
        if (this.itemData.form_params) { // 编辑
          console.log('编辑')
          this.formItem.itemInfoForm = JSON.parse(this.itemData.form_params)
          if (!this.formItem.itemInfoForm.apply_date) {
            this.formItem.itemInfoForm.apply_date = this.getTodayDate()
          }
          if (!this.formItem.itemInfoForm.name) {
            this.formItem.itemInfoForm.name = this.personinfo.name || ''
          }
          if (!this.formItem.itemInfoForm.sex) {
            this.formItem.itemInfoForm.sex = this.personinfo.sex || ''
          }
          if (!this.formItem.itemInfoForm.phone) {
            this.formItem.itemInfoForm.phone = this.personinfo.mobile
          }
          if (!this.formItem.itemInfoForm.age) {
            this.formItem.itemInfoForm.age = this.getAge(this.$route.params.cardno)
          }
          if (!this.formItem.itemInfoForm.address) {
            this.formItem.itemInfoForm.address = this.personinfo.present_address || ''
          }
          if (!this.formItem.itemInfoForm.disabled_categories) {
            this.formItem.itemInfoForm.disabled_categories = this.$route.params.disabledPerson || this.disabledPerson
          }
          if (!this.formItem.itemInfoForm.subsidies) {
            this.formItem.itemInfoForm.subsidies = this.itemData.item_id === '11210101000000MZJD5212000207000' ? this.subsidies : '重度残疾人'
          }
          if (!this.formItem.itemInfoForm.level) {
            this.formItem.itemInfoForm.level = this.$route.params.disabledLevel || this.disabledLevel
          }
          if (!this.formItem.itemInfoForm.disable_ID_No) {
            this.formItem.itemInfoForm.disable_ID_No = this.$route.params.DISABLED_NUMBER || this.DISABLED_NUMBER
          }
          if (!this.formItem.itemInfoForm.issuing_time) {
            this.formItem.itemInfoForm.issuing_time = date2str(this.$route.params.FIRST_TIME) || date2str(this.FIRST_TIME) // 发证时间
          }
          if (!this.formItem.itemInfoForm.street) {
            this.formItem.itemInfoForm.street = this.$route.params.CJR_ALLOCATION_ID_NAME || this.CJR_ALLOCATION_ID_NAME // 社区
          }
          if (!this.formItem.itemInfoForm.guardian_phone) {
            this.formItem.itemInfoForm.guardian_phone = this.$route.params.GUARD_PHONE // 监护人电话
          }
          if (!this.formItem.itemInfoForm.guardian) {
            this.formItem.itemInfoForm.guardian = this.$route.params.GUARD_NAME // 监护人姓名
          }
          if (!this.formItem.itemInfoForm.bank_name) {
            this.formItem.itemInfoForm.bank_name = this.$route.params.bank_name
          }
          if (!this.formItem.itemInfoForm.bank_peoplename) {
            this.formItem.itemInfoForm.bank_peoplename = this.$route.params.bank_peoplename
          }
          if (!this.formItem.itemInfoForm.bank_cardno) {
            this.formItem.itemInfoForm.bank_cardno = this.$route.params.bank_cardno
          }
          if (!this.formItem.itemInfoForm.low_income_No) {
            this.formItem.itemInfoForm.low_income_No = this.$route.params.low_income_No
          }
          // this.formItem.itemInfoForm.apply_date = this.getTodayDate()
          // this.formItem.itemInfoForm.name = this.personinfo.name || ''
          // this.formItem.itemInfoForm.sex = this.personinfo.sex || ''
          // this.formItem.itemInfoForm.phone = this.personinfo.mobile
          // this.formItem.itemInfoForm.age = this.getAge(this.$route.params.cardno)
          // this.formItem.itemInfoForm.address = this.personinfo.present_address || ''
          // this.formItem.itemInfoForm.disabled_categories = this.$route.params.disabledPerson || this.disabledPerson
          // this.formItem.itemInfoForm.level = this.$route.params.disabledLevel || this.disabledLevel
          // this.formItem.itemInfoForm.disable_ID_No = this.$route.params.DISABLED_NUMBER || this.DISABLED_NUMBER
          // this.formItem.itemInfoForm.issuing_time = this.$route.params.FIRST_TIME || this.FIRST_TIME // 发证时间
          // this.formItem.itemInfoForm.street = this.$route.params.CJR_ALLOCATION_ID_NAME || this.CJR_ALLOCATION_ID_NAME // 社区
          // this.formItem.itemInfoForm.guardian_phone = this.$route.params.GUARD_PHONE // 监护人电话
          // this.formItem.itemInfoForm.guardian = this.$route.params.GUARD_NAME // 监护人姓名
          // this.formItem.itemInfoForm.bank_name = this.$route.params.bank_name
          // this.formItem.itemInfoForm.bank_peoplename = this.$route.params.bank_peoplename
          // this.formItem.itemInfoForm.bank_cardno = this.$route.params.bank_cardno
          // this.formItem.itemInfoForm.low_income_No = this.$route.params.low_income_No
          // this.personFormInfo = this.formItem.itemInfoForm
        } else {
          console.log('创建')
          this.formItem.itemInfoForm.apply_date = this.getTodayDate()
          this.formItem.itemInfoForm.name = this.personinfo.name || ''
          this.formItem.itemInfoForm.cardno = this.$route.params.cardno || this.personinfo.cardno
          this.formItem.itemInfoForm.sex = this.personinfo.sex || ''
          this.formItem.itemInfoForm.phone = this.personinfo.mobile || ''
          this.formItem.itemInfoForm.age = this.getAge(this.$route.params.cardno)
          this.formItem.itemInfoForm.address = this.personinfo.present_address || ''
          this.formItem.itemInfoForm.disabled_categories = this.$route.params.disabledPerson || this.disabledPerson
          this.formItem.itemInfoForm.level = this.$route.params.disabledLevel || this.disabledLevel
          this.formItem.itemInfoForm.disable_ID_No = this.$route.params.DISABLED_NUMBER || this.DISABLED_NUMBER
          this.formItem.itemInfoForm.issuing_time = date2str(this.$route.params.FIRST_TIME) || date2str(this.FIRST_TIME) // 发证时间
          this.formItem.itemInfoForm.street = this.$route.params.CJR_ALLOCATION_ID_NAME || this.CJR_ALLOCATION_ID_NAME // 社区
          this.formItem.itemInfoForm.guardian_phone = this.$route.params.GUARD_PHONE // 监护人电话
          this.formItem.itemInfoForm.guardian = this.$route.params.GUARD_NAME // 监护人姓名
          this.formItem.itemInfoForm.bank_name = this.$route.params.bank_name
          this.formItem.itemInfoForm.bank_peoplename = this.$route.params.bank_peoplename
          this.formItem.itemInfoForm.bank_cardno = this.$route.params.bank_cardno
          this.formItem.itemInfoForm.low_income_No = this.$route.params.low_income_No
          this.formItem.itemInfoForm.subsidies = this.itemData.item_id === '11210101000000MZJD5212000207000' ? this.subsidies : '重度残疾人'
        }
      } else if (item.form_path === 'studentFormShow1') {
        // 入园残疾儿童，小学、初中、高中（中专）残疾学生
        if (this.itemData.form_params) { // 编辑
          this.formItem.itemInfoForm = JSON.parse(this.itemData.form_params)
        } else {
          this.getValidateRules('', this.personinfo.name, this.$route.params.cardno)
        }
      } else if (item.form_path === 'studentFormShow2') {
        // 残疾人大学生助学金
        if (this.itemData.form_params) { // 编辑
          this.formItem.itemInfoForm = JSON.parse(this.itemData.form_params)
        } else {
          this.getValidateRules('', this.personinfo.name, this.$route.params.cardno)
        }
      } else if (item.form_path === 'studentFormShow3') {
        // 低保（边）残疾人家庭大学生助学金申请
        this.formItem.itemInfoForm = JSON.parse(this.itemData.form_params)
      } else if (item.form_path === 'studentFormShow4') {
        // 特殊原因造成家庭经济困难残疾人家庭大学生助学金申请
        this.formItem.itemInfoForm = JSON.parse(this.itemData.form_params)
      } else if (item.form_path === 'studentFormShow5') {
        // 成人教育取得毕业证残疾人
        if (this.itemData.form_params) { // 编辑
          this.formItem.itemInfoForm = JSON.parse(this.itemData.form_params)
        } else {
          this.getValidateRules('', this.personinfo.name, this.$route.params.cardno)
        }
      } else if (item.form_path === 'assistiveevicesFormShow') {
        // 申请残疾人辅助器具
        if (this.itemData.form_params) { // 编辑
          this.formItem.itemInfoForm = JSON.parse(this.itemData.form_params)
        } else {
          this.getValidateRules2(this.personinfo.name, this.$route.params.cardno)
          this.formItem.itemInfoForm.aca051 = '01' // 适用范围
          this.formItem.itemInfoForm.aca052 = '0108' // 辅具类别
          this.formItem.itemInfoForm.aca053 = '010801' // 辅具名称

          if (this.itemData.item_id === '11210101000000CLJD5212000406002') {
            this.formItem.itemInfoForm.aca053 = '010802' // 辅具名称
          } else if (this.itemData.item_id === '11210101000000CLJD5212000406003') {
            this.formItem.itemInfoForm.aca053 = '010803' // 辅具名称
          } else if (this.itemData.item_id === '11210101000000CLJD5212000406004') {
            this.formItem.itemInfoForm.aca053 = '' // 辅具名称
          }

          if ((this.formItem.itemInfoForm.aca053 !== '' && this.formItem.itemInfoForm.aca053 !== undefined) || (this.$route.params.aca053 !== '' && this.$route.params.aca053 !== undefined)) {
            this.getValidateRules2Details()
          }
        }
      } else if (item.form_path === 'disabilityZDSHBT') {
        // 申请55-59周岁参加城乡居民养老保险的重度残疾人生活补助
        if (this.itemData.form_params) { // 编辑
          this.formItem.itemInfoForm = JSON.parse(this.itemData.form_params)
        } else {
          this.getValidateRules4(this.personinfo.name, this.$route.params.cardno)
        }
      } else if (item.form_path === 'disabilityCertificateFormShow') {
        // 申请办理《中华人民共和国残疾人证》
        if (this.itemData.form_params) { // 编辑
          this.formItem.itemInfoForm = JSON.parse(this.itemData.form_params)
        } else {
          this.formItem.itemInfoForm.aac003 = this.personinfo.name // 姓名
          this.formItem.itemInfoForm.aac002 = this.$route.params.cardno // 身份证
          this.formItem.itemInfoForm.aac004 = this.$route.params.cardno.substr(16, 1) % 2 === 1 ? '1' : '2'
          this.formItem.itemInfoForm.aac006 = this.$route.params.cardno.substr(6, 4) + '-' + this.$route.params.cardno.substr(10, 2) + '-' + this.$route.params.cardno.substr(12, 2) // 出生日期
          this.formItem.itemInfoForm.age = this.getAge(this.$route.params.cardno) // 年龄
          this.formItem.itemInfoForm.aac019 = this.personinfo.domicile_address// 户籍地址
          this.formItem.itemInfoForm.aac007 = this.personinfo.domicile_address// 籍贯
          this.formItem.itemInfoForm.aac01a = this.personinfo.address// 现住址
          this.formItem.itemInfoForm.aac01d = this.personinfo.mobile// 移动电话
        }
      } else if (item.form_path === 'disabledLevelFormShow') {
        // 申请变更《中华人民共和国残疾人证》残疾等级
        if (this.itemData.form_params) { // 编辑
          this.formItem.itemInfoForm = JSON.parse(this.itemData.form_params)
        } else {
          this.getValidateRules5(this.personinfo.name, this.$route.params.cardno)
        }
      } else if (item.form_path === 'personInfoShow') { // 个人信息
        this.formItem.itemInfoForm.name = this.personinfo.name || ''
        this.formItem.itemInfoForm.sex = this.personinfo.sex || ''
        this.formItem.itemInfoForm.mobile = this.personinfo.mobile
        if (!this.itemData.form_params) {
          this.formItem.itemInfoForm.card_type = '1'
          this.formItem.itemInfoForm.card_no = this.personinfo.cardno
        }
      } else if (item.form_path === 'personInfoTestShow') { // 测试事项个人信息
        this.formItem.itemInfoForm.name = this.personinfo.name || ''
        this.formItem.itemInfoForm.sex = this.personinfo.sex || ''
        this.formItem.itemInfoForm.mobile = this.personinfo.mobile
        if (!this.itemData.form_params) {
          this.formItem.itemInfoForm.card_type = '1'
          this.formItem.itemInfoForm.card_no = this.personinfo.cardno
        }
      } else {
        if (!this.formItem.itemInfoForm.cardno && this.itemData.form_params) {
          this.formItem.itemInfoForm = JSON.parse(this.itemData.form_params)
          this.formItem.itemInfoForm.cardno = this.$route.params.cardno
        } else {
          this.formItem.itemInfoForm = {}
        }
        this.formItem.state++
      }
    },
    // 身份证号获取用户信息
    getuserinfo (cardno) {
      userinfo(cardno).then(res => {
        if (res.data.data) {
          this.personinfo = res.data.data
          console.log(this.personinfo.name + '######')
          this.personinfo.type = '身份证'
          if (this.personinfo.mobile.length === 8 || this.personinfo.mobile.length === 7) {
            this.personinfo.mobile = this.personinfo.mobile.substring(0, 3) + '****' + this.personinfo.mobile.substring(6)
          } else if (this.personinfo.mobile.length === 11) {
            this.personinfo.mobile = this.personinfo.mobile.substring(0, 3) + '****' + this.personinfo.mobile.substring(7)
          } else {
            // eslint-disable-next-line no-self-assign
            this.personinfo.mobile = this.personinfo.mobile
          }
        } else {
          this.$Notice.error({ title: '查不到人员信息' })
        }
      })
    },
    saveOrder () {
      if (!this.formItem.operation) {
        this.$Notice.success({ title: '错误', desc: '非法操作' })
        return
      }
      let paramJson = {}
      let param = {
        item_id: this.$route.params.itemid,
        cardno: this.$route.params.cardno
      }
      let verify = true
      this.documentlist.forEach(element => {
        if (element.write_type === 'images' && element.img_urls) {
          paramJson[element.value] = element.img_urls.toString()
          if (element.document_id === 370) {
            console.log(paramJson[element.value], '二寸照片')
            this.unemploymentItem1.acc0mg = paramJson[element.value]
          }
        } else if (element.write_type === 'form') {
          if (element.form_path === 'subsidyFormShow') {
            this.formItem.itemInfoForm.apply_date = this.getTodayDate()
            param.form_params = this.formItem.itemInfoForm
          } else if (element.form_path === 'studentFormShow1') {
            param.form_params = this.formItem.itemInfoForm
          } else if (element.form_path === 'studentFormShow2') {
            param.form_params = this.formItem.itemInfoForm
          } else if (element.form_path === 'studentFormShow3') {
            param.form_params = this.formItem.itemInfoForm
          } else if (element.form_path === 'studentFormShow4') {
            param.form_params = this.formItem.itemInfoForm
          } else if (element.form_path === 'studentFormShow5') {
            param.form_params = this.formItem.itemInfoForm
          } else if (element.form_path === 'assistiveevicesFormShow') {
            param.form_params = this.formItem.itemInfoForm
          } else if (element.form_path === 'deathProveShow') {
            verify = this.saveDeathInfo(false)
            param.form_params = this.formItem.itemInfoForm
            if (param.form_params.jmlx_a) {
              param.form_params.jmlx = param.form_params.jmlx_a.toString()
              delete param.form_params.jmlx_a
            }
          } else if (element.form_path === 'communityProveShow') {
            verify = this.saveJzInfo(false)
            param.form_params = this.formItem.itemInfoForm
          } else if (element.form_path === 'checkShow') {
            verify = this.saveCheck(false)
            param.form_params = this.checkForm.itemInfo
          } else if (element.form_path === 'jobShow') {
            verify = this.saveJobInfo(false)
            param.form_params = this.jobItem.itemInfo
          } else if (element.form_path === 'handlecertificateShow') {
            verify = this.handle(false)
            param.form_params = this.handleItem.itemInfo
            console.log(param.form_params, '入参@#@#@')
          } else if (element.form_path === 'unemploymentShow') {
            verify = this.saveUnemploymentInfo(false)
            param.form_params = this.unemploymentItem.itemInfo
          } else if (element.form_path === 'recruitShow') {
            verify = this.saveRecruit(false)
            param.form_params = this.recruitItem.itemInfo
          } else if (element.form_path === 'flexibleregisterShow') {
            verify = this.save(false)
            param.form_params = this.flexItem.itemInfo
          } else if (element.form_path === 'temporaryAssistanceShow') {
            verify = this.temporarysave(false)
            param.form_params = this.temporaryItem.itemInfo
          } else if (element.form_path === 'childwelfareShow') {
            verify = this.childsave(false)
            param.form_params = this.childwelfareItem.itemInfo
          } else if (element.form_path === 'disModal') {
            param.form_params = this.disForm.itemInfo
          } else if (element.form_path === 'dbFrom') {
            param.form_params = this.dbForminfo
          } else {
            param.form_params = this.formItem.itemInfoForm
            console.log(param.form_params)
          }
        }
      })

      for (var key in param.form_params) {
        if (param.form_params[key] === '' || param.form_params[key] === undefined) {
          delete param.form_params[key]
        }
      }

      if (!verify) return
      if (JSON.stringify(param.form_params) === '{}') {
        param.form_params = null
      }
      param.params = JSON.stringify(paramJson)
      param.code = this.$route.params.code
      // 入参中 params：要件json，form_params：表单对象
      updateOrder(param).then(res => {
        if (res.data.data) {
          this.$Notice.success({ title: '保存成功', desc: '业务编号：' + param.code })
          this.$router.push({
            name: this.$route.params.path || 'workbench',
            params: this.$route.params.cur_data,
            refresh: true
          })
        } else {
          this.$Notice.error({ title: '保存失败', desc: res.data.errmsg })
        }
      })
    },
    // 查看图片原图功能
    originalGraph () {
      window.open(this.picPreviewMol.pic_urls[this.picPreviewMol.picIndex])
    },
    // 删除已经上传的图片
    deletePic () {
      this.picPreviewMol.pic_urls.splice(this.picPreviewMol.picIndex, 1)
      let temp = this.documentlist[this.formItem.paramIndex]
      temp.img_urls = this.picPreviewMol.pic_urls
      if (this.picPreviewMol.picIndex === 0) {
        if (temp.img_urls.length === 0) {
          temp.img_urls = null
          this.picPreviewMol.preShow = false
          this.formItem.reloadTabel = true
          temp.is_submit = '未提交'
          this.$nextTick(() => {
            this.formItem.reloadTabel = false
          })
        }
      } else {
        this.picPreviewMol.picIndex--
      }
    },
    backOrder () {
      this.$router.push({
        name: this.$route.params.path,
        params: this.$route.params.cur_data
      })
    },
    // 上一步（lag=false） || 下一步（flag=true）
    nextStep (flag) {
      if (flag === true) {
        this.loading = true
      } else {
        this.loading = false
      }
      this.info = {
        fileName: this.$route.params.name + this.datetime2str(new Date()),
        userid: this.personinfo.id,
        order_code: this.$route.params.code
      }
      if (!this.formItem.operation) {
        this.$Notice.success({ title: '错误', desc: '非法操作' })
        return
      }
      // 下一步按钮，当无订单编号时表示下单，否则是修改要件，operation=0时表示失败订单重新办理
      if (flag && (this.$route.params.operation === '0' || !this.$route.params.code)) {
        let param = {
          item_id: this.$route.params.itemid,
          cardno: this.$route.params.cardno,
          name: this.personinfo.name,
          mobile: this.personinfo.mobile
        }
        createOrder(param).then(res => {
          if (res.data.data) {
            this.$Notice.success({ title: '保存成功', desc: '请上传要件或表单，完善业务信息' })
            this.loading = false
            this.$route.params.code = res.data.data
            this.formItem.next_step = true
            this.info = {
              fileName: this.$route.params.name + this.datetime2str(new Date()),
              userid: this.personinfo.id,
              order_code: res.data.data
            }
          } else {
            this.$Notice.error({ title: '保存失败', desc: res.data.errmsg })
            this.loading = false
          }
        })
      } else {
        this.formItem.next_step = flag
      }
    },
    downloadPdf () { // pdf文件下载
      this.pdfModal = true
    },
    closeHeight () {
      this.gpy_shows = false
      this.openNow = false
    },
    closeHeight1 () {
      this.mshow = false
      this.openNow = false
    },
    getAge (identityCard) {
      var len = (identityCard + '').length
      if (len === 0) {
        return 0
      } else {
        if ((len !== 15) && (len !== 18)) { // 身份证号码只能为15位或18位其它不合法
          return 0
        }
      }
      var strBirthday = ''
      if (len === 18) { // 处理18位的身份证号码从号码中得到生日和性别代码
        strBirthday = identityCard.substr(6, 4) + '/' + identityCard.substr(10, 2) + '/' + identityCard.substr(12, 2)
      } else if (len === 15) {
        strBirthday = '19' + identityCard.substr(6, 2) + '/' + identityCard.substr(8, 2) + '/' + identityCard.substr(10, 2)
      }
      var birthDate = new Date(strBirthday)
      var nowDateTime = new Date()
      var age = nowDateTime.getFullYear() - birthDate.getFullYear()
      if (nowDateTime.getMonth() < birthDate.getMonth() || (nowDateTime.getMonth() === birthDate.getMonth() && nowDateTime.getDate() < birthDate.getDate())) {
        age--
      }
      return age
    },
    getTodayDate () {
      var dd = new Date()
      var y = dd.getFullYear()
      var m = dd.getMonth() + 1 // 获取当前月份的日期
      var d = dd.getDate()
      var hour = dd.getHours()
      var minute = dd.getMinutes()
      var second = dd.getSeconds()
      return y + '-' + m + '-' + d + ' ' + hour + ':' + minute + ':' + second
    },
    getToday (type) {
      var dd = new Date()
      var y = dd.getFullYear()
      var m = dd.getMonth() + 1 // 获取当前月份的日期
      var d = dd.getDate()
      return type === 1 ? (y + '-' + m + '-' + d) : (y + '')
    },
    getValidateRules (type, name, cardNo) {
      let param = {
        name: name,
        cardno: cardNo,
        item_id: this.itemData.item_id,
        type: type
      }
      authentication(param).then(res => {
        if (res.data.errcode === 0) {
          this.ruleData = res.data.data.data
          if (res.data.data.code !== '1') {
            this.$Notice.error({ title: '获取人员信息失败', desc: this.ruleData.errmsg })
            return
          }

          if (this.itemData.item_id === '11210101000000CLJD5212000229003') {
            this.formItem.studentFormShow3 = true
          } else if (this.itemData.item_id === '11210101000000CLJD5212000229002') {
            this.formItem.studentFormShow4 = true
          }

          this.formItem.itemInfoForm.aac001 = this.ruleData.aac001 // 主键
          this.formItem.itemInfoForm.aac003 = this.ruleData.aac003 || this.personinfo.name // 姓名
          this.formItem.itemInfoForm.aac002 = this.$route.params.cardno // 身份证
          this.formItem.itemInfoForm.aac004 = this.ruleData.aac004 || (this.$route.params.cardno.substr(16, 1) % 2 === 1 ? '1' : '2')
          this.formItem.itemInfoForm.aac006 = (this.$route.params.cardno.substr(6, 4) + '-' + this.$route.params.cardno.substr(10, 2) + '-' + this.$route.params.cardno.substr(12, 2)) // 出生日期
          this.formItem.itemInfoForm.age = this.getAge(this.$route.params.cardno) // 年龄
          this.formItem.itemInfoForm.aaa120 = this.ruleData.aaa120 // 所在地区
          this.formItem.itemInfoForm.aaa121 = this.ruleData.aaa121 // 所在地区码
          this.formItem.itemInfoForm.adc013 = this.ruleData.adc013 // 残疾类别
          this.formItem.itemInfoForm.adc015 = this.ruleData.adc015 // 残疾等级
          this.formItem.itemInfoForm.adc016 = this.ruleData.adc016 // 残疾证号
          this.formItem.itemInfoForm.aac019 = this.ruleData.adc019 || this.personinfo.domicile_address// 户籍地址
          this.formItem.itemInfoForm.aac01a = this.ruleData.aac01a || this.personinfo.address// 现住址
          this.formItem.itemInfoForm.aac01c = this.ruleData.aac01c // 固定电话
          this.formItem.itemInfoForm.aac01d = this.ruleData.aac01d || this.personinfo.mobile// 移动电话
          this.formItem.itemInfoForm.aac003a = this.ruleData.aac003a // 家长姓名
          this.formItem.itemInfoForm.aac002a = this.ruleData.aac002a // 家长身份证
          this.formItem.itemInfoForm.aac004a = this.ruleData.aac002a ? (this.ruleData.aac002a.substr(16, 1) % 2 === 1 ? '1' : '2') || this.ruleData.aac004a : '' // 家长性别
          this.formItem.itemInfoForm.agea = this.ruleData.aac002a ? this.getAge(this.ruleData.aac002a) || this.ruleData.agea : '' // 家长年龄
          this.formItem.itemInfoForm.aac01da = this.ruleData.aac01da // 家长电话
          this.formItem.itemInfoForm.adc016a = this.ruleData.adc016a // 家长残疾证号
          this.formItem.itemInfoForm.adc01a = this.ruleData.adc01a // 联系人姓名
          this.formItem.itemInfoForm.adc01d = this.ruleData.adc01d // 联系人固定电话
          this.formItem.itemInfoForm.adc01e = this.ruleData.adc01e // 联系人移动电话
          this.formItem.itemInfoForm.aec01b = this.getToday(2) // 申请年度格式必须为yyyy
          this.formItem.itemInfoForm.aec01c = this.getToday(1) // 申请日期格式必须为yyyy-MM-dd
          this.formItem.itemInfoForm.aac081 = this.ruleData.aac081 || this.$route.params.bank_name // 银行名称
          this.formItem.itemInfoForm.aac082 = this.ruleData.aac082 || this.$route.params.bank_peoplename // 账号
          this.formItem.itemInfoForm.aac083 = this.ruleData.aac083 || this.$route.params.bank_cardno // 账户名
          if (this.itemData.item_id === '11210101000000CLJD5212000229002') {
            this.formItem.itemInfoForm.aec111 = '3'
          }
          this.selectList.studentAidList.map(item => {
            if (item.value === this.itemData.item_id) {
              this.formItem.itemInfoForm.aec01d = item.label // 申请金额
            }
          })
          this.selectList.studentList.map(item => {
            if (item.value === this.itemData.item_id) {
              this.formItem.itemInfoForm.aec01z = item.label // 资助对象类型
            }
          })
        } else {
          this.$Notice.error({ title: '申请失败', desc: res.data.errmsg })
        }
      })
    },
    getValidateRules2 (name, cNo) {
      authentication({ name: name, cardno: cNo, item_id: this.itemData.item_id }).then(res => {
        if (res.data.errcode === 0) {
          this.ruleData = res.data.data.data
          if (res.data.data.code !== '1' && res.data.data.code !== '0') {
            this.$Notice.error({ title: '获取人员信息失败', desc: this.ruleData.errmsg })
            return
          }
          let flag = this.ruleData !== ('' || undefined)
          console.log(flag)
          this.formItem.itemInfoForm.aac001 = flag ? this.ruleData.aac001 : 0 // 主键
          this.formItem.itemInfoForm.aac003 = flag ? this.ruleData.aac003 : this.personinfo.name // 姓名
          this.formItem.itemInfoForm.aac002 = flag ? this.ruleData.aac002 : this.$route.params.cardno // 身份证
          this.formItem.itemInfoForm.aac004 = flag ? this.ruleData.aac004 : (this.$route.params.cardno.substr(16, 1) % 2 === 1 ? '1' : '2')
          this.formItem.itemInfoForm.aac005 = flag ? this.ruleData.aac005 : '' // 民族
          this.formItem.itemInfoForm.aac006 = (this.$route.params.cardno.substr(6, 4) + '-' + this.$route.params.cardno.substr(10, 2) + '-' + this.$route.params.cardno.substr(12, 2)) // 出生日期
          this.formItem.itemInfoForm.age = this.getAge(this.$route.params.cardno) // 年龄
          this.formItem.itemInfoForm.aac009 = flag ? this.ruleData.aac009 : '' // 户口性质
          this.formItem.itemInfoForm.aaa120 = flag ? this.ruleData.aaa120 : '' // 所在地区
          this.formItem.itemInfoForm.aaa121 = flag ? this.ruleData.aaa121 : '' // 所在地区码
          this.formItem.itemInfoForm.aac01d = flag ? this.ruleData.aac01d : this.personinfo.mobile // 移动电话
          this.formItem.itemInfoForm.adc013 = flag ? this.ruleData.adc013 : '' // 残疾类别
          this.formItem.itemInfoForm.adc015 = flag ? this.ruleData.adc015 : '' // 残疾等级
          this.formItem.itemInfoForm.adc016 = flag ? this.ruleData.adc016 : '' // 残疾证号
          this.formItem.itemInfoForm.adc01a = flag ? this.ruleData.adc01a : '' // 监护人姓名
          this.formItem.itemInfoForm.adc01e = flag ? this.ruleData.adc01e : '' // 监护人电话
          this.formItem.itemInfoForm.aac019 = flag ? this.ruleData.aac019 : this.personinfo.domicile_address // 户籍地址
          this.formItem.itemInfoForm.aac01a = flag ? this.ruleData.aac01a : this.personinfo.address // 现住址
          this.formItem.itemInfoForm.acc51n = this.getToday(1) // 申请日期格式必须为yyyy-MM-dd
          this.formItem.itemInfoForm.acc51m = flag ? this.ruleData.adc01a : '' // 默认监护人可修改
        } else {
          this.$Notice.error({ title: '申请失败', desc: res.data.errmsg })
        }
      })
    },
    getValidateRules2Details () {
      let param = {
        aac001: this.formItem.itemInfoForm.aac001 !== ('' || undefined) ? this.formItem.itemInfoForm.aac001 : 0,
        aac002: this.$route.params.cardno || this.personinfo.cardno,
        aac003: this.$route.params.name || this.personinfo.name,
        aca051: this.formItem.itemInfoForm.aca051 || this.$route.params.aca051,
        aca052: this.formItem.itemInfoForm.aca052 || this.$route.params.aca052,
        aca053: this.formItem.itemInfoForm.aca053 || this.$route.params.aca053,
        item_id: this.itemData.item_id
      }
      repeatApplicationValidation(param).then(res => {
        if (res.data.errcode === 0) {
          this.ruleData = res.data.data.data
          if (res.data.data.code !== '1') {
            this.$Notice.error({ title: '获取辅具信息失败', desc: res.data.data.msg })
            return
          }
          this.formItem.itemInfoForm.aca050 = this.ruleData.aca050 // 辅助器具目录流水号
          this.formItem.itemInfoForm.aca051 = this.ruleData.aca051 // 适用范围
          this.formItem.itemInfoForm.aca052 = this.ruleData.aca052 // 辅具类别
          this.formItem.itemInfoForm.aca053 = this.ruleData.aca053 // 辅具名称
          this.formItem.itemInfoForm.aca054 = this.ruleData.aca054 // 单位
          this.formItem.itemInfoForm.aca055 = this.ruleData.aca055 // 参考价格
          this.formItem.itemInfoForm.aca056 = this.ruleData.aca056 // 适用对象
          this.formItem.itemInfoForm.aca057 = this.ruleData.aca057 // 使用年限
          this.formItem.itemInfoForm.aca058 = this.ruleData.aca058 // 补贴比例
          this.formItem.itemInfoForm.aca059 = this.ruleData.aca059 // 评估级别
        } else {
          this.$Notice.error({ title: '申请失败', desc: res.data.errmsg })
        }
      })
    },
    getValidateRules3 (name, cardNo) { // 低收入一级残疾人
      let param = {
        name: name,
        cardno: cardNo,
        item_id: this.itemData.item_id
      }
      authentication(param).then(res => {
        if (res.data.errcode === 0) {
          this.ruleData = res.data.data.data
          if (res.data.data.code !== 1 && res.data.data.code !== 0) {
            this.$Notice.error({ title: '获取人员信息失败', desc: res.data.data.msg })
            return
          }
          let flag = this.ruleData !== ('' || undefined)
          console.log(flag)
          this.formItem.itemInfoForm.agc117 = flag ? '0' : '1' // 是否是残疾人
          this.formItem.itemInfoForm.aac001 = flag ? this.ruleData.aac001 : 0 // 主键
          this.formItem.itemInfoForm.aac003 = flag ? this.ruleData.aac003 : this.personinfo.name // 姓名
          this.formItem.itemInfoForm.aac002 = flag ? this.ruleData.aac002 : this.$route.params.cardno // 身份证
          this.formItem.itemInfoForm.aac004 = flag ? this.ruleData.aac004 : (this.$route.params.cardno.substr(16, 1) % 2 === 1 ? '1' : '2')
          this.formItem.itemInfoForm.aac005 = flag ? this.ruleData.aac005 : '' // 民族
          this.formItem.itemInfoForm.aac006 = (this.$route.params.cardno.substr(6, 4) + '-' + this.$route.params.cardno.substr(10, 2) + '-' + this.$route.params.cardno.substr(12, 2)) // 出生日期
          this.formItem.itemInfoForm.age = this.getAge(this.$route.params.cardno) // 年龄
          this.formItem.itemInfoForm.aac009 = flag ? this.ruleData.aac009 : '' // 户口性质
          this.formItem.itemInfoForm.aaa120 = flag ? this.ruleData.aaa120 : '' // 所在地区
          this.formItem.itemInfoForm.aaa121 = flag ? this.ruleData.aaa121 : '' // 所在地区码
          this.formItem.itemInfoForm.aac01d = flag ? this.ruleData.aac01d : this.personinfo.mobile // 移动电话
          this.formItem.itemInfoForm.adc013 = flag ? this.ruleData.adc013 : '' // 残疾类别
          this.formItem.itemInfoForm.adc015 = flag ? this.ruleData.adc015 : '' // 残疾等级
          this.formItem.itemInfoForm.adc016 = flag ? this.ruleData.adc016 : '' // 残疾证号
          this.formItem.itemInfoForm.aac019 = flag ? this.ruleData.aac019 : this.personinfo.domicile_address // 户籍地址
          this.formItem.itemInfoForm.aac01a = flag ? this.ruleData.aac01a : this.personinfo.address // 现住址
          this.formItem.itemInfoForm.aac01b = flag ? this.ruleData.aac01b : '' // 邮政编码
          this.formItem.itemInfoForm.aac01c = flag ? this.ruleData.aac01c : '' // 固定电话
          this.formItem.itemInfoForm.aac01d = flag ? this.ruleData.aac01d : this.personinfo.mobile // 移动电话
          this.formItem.itemInfoForm.adc01a = flag ? this.ruleData.adc01a : '' // 联系人姓名
          this.formItem.itemInfoForm.adc01d = flag ? this.ruleData.adc01d : '' // 联系人固定电话
          this.formItem.itemInfoForm.adc01e = flag ? this.ruleData.adc01e : '' // 联系人移动电话
          this.formItem.itemInfoForm.agc111 = this.getTodayDate() // 申请年度格式必须为yyyy-MM-dd HH:mm:ss
        } else {
          this.$Notice.error({ title: '申请失败', desc: res.data.errmsg })
        }
      })
    },
    getValidateRules4 (name, cardNo) { // 申请55-59周岁参加城乡居民养老保险的重度残疾人生活补助
      let param = {
        name: name,
        cardno: cardNo,
        item_id: this.itemData.item_id
      }
      authentication(param).then(res => {
        if (res.data.errcode === 0) {
          this.ruleData = res.data.data.data
          if (res.data.data.code !== '1') {
            this.$Notice.error({ title: '获取人员信息失败', desc: res.data.data.msg })
            return
          }
          let flag = this.ruleData !== ('' || undefined)
          console.log(flag)
          this.formItem.itemInfoForm.agc117 = flag ? '0' : '1' // 是否是残疾人
          this.formItem.itemInfoForm.aac001 = flag ? this.ruleData.aac001 : 0 // 主键
          this.formItem.itemInfoForm.aac003 = flag ? this.ruleData.aac003 : this.personinfo.name // 姓名
          this.formItem.itemInfoForm.aac002 = flag ? this.ruleData.aac002 : this.$route.params.cardno // 身份证
          this.formItem.itemInfoForm.aac004 = flag ? this.ruleData.aac004 : (this.$route.params.cardno.substr(16, 1) % 2 === 1 ? '1' : '2')
          this.formItem.itemInfoForm.aac005 = flag ? this.ruleData.aac005 : '' // 民族
          this.formItem.itemInfoForm.aac006 = (this.$route.params.cardno.substr(6, 4) + '-' + this.$route.params.cardno.substr(10, 2) + '-' + this.$route.params.cardno.substr(12, 2)) // 出生日期
          this.formItem.itemInfoForm.age = this.getAge(this.$route.params.cardno) // 年龄
          this.formItem.itemInfoForm.aac009 = flag ? this.ruleData.aac009 : '' // 户口性质
          this.formItem.itemInfoForm.aaa120 = flag ? this.ruleData.aaa120 : '' // 所在地区
          this.formItem.itemInfoForm.aaa121 = flag ? this.ruleData.aaa121 : '' // 所在地区码
          this.formItem.itemInfoForm.aac01d = flag ? this.ruleData.aac01d : this.personinfo.mobile // 移动电话
          this.formItem.itemInfoForm.adc013 = flag ? this.ruleData.adc013 : '' // 残疾类别
          this.formItem.itemInfoForm.adc015 = flag ? this.ruleData.adc015 : '' // 残疾等级
          this.formItem.itemInfoForm.adc016 = flag ? this.ruleData.adc016 : '' // 残疾证号
          this.formItem.itemInfoForm.aac019 = flag ? this.ruleData.aac019 : this.personinfo.domicile_address // 户籍地址
          this.formItem.itemInfoForm.aac01a = flag ? this.ruleData.aac01a : this.personinfo.address // 现住址
          this.formItem.itemInfoForm.aac01b = flag ? this.ruleData.aac01b : '' // 邮政编码
          this.formItem.itemInfoForm.aac01c = flag ? this.ruleData.aac01c : '' // 固定电话
          this.formItem.itemInfoForm.aac01d = flag ? this.ruleData.aac01d : this.personinfo.mobile // 移动电话
          this.formItem.itemInfoForm.adc01a = flag ? this.ruleData.adc01a : '' // 联系人姓名
          this.formItem.itemInfoForm.adc01d = flag ? this.ruleData.adc01d : '' // 联系人固定电话
          this.formItem.itemInfoForm.adc01e = flag ? this.ruleData.adc01e : '' // 联系人移动电话
          this.formItem.itemInfoForm.ajc111 = this.getTodayDate()
          this.formItem.itemInfoForm.ajc114 = this.getToday(2) // 申请年度格式必须为yyyy
          var currQuarter = new Date().getMonth() + 1
          this.formItem.itemInfoForm.ajc115 = Math.floor((currQuarter % 3 === 0 ? (currQuarter / 3) : (currQuarter / 3 + 1)))
        } else {
          this.$Notice.error({ title: '申请失败', desc: res.data.errmsg })
        }
      })
    },
    getValidateRules5 (name, cardNo) { // 申请变更《中华人民共和国残疾人证》残疾等级
      let param = {
        name: name,
        cardno: cardNo,
        item_id: this.itemData.item_id
      }
      checkDisabilityCertificateAll(param).then(res => {
        if (res.data.errcode === 0) {
          this.ruleData = res.data.data.data
          if (res.data.data.code !== '1') {
            this.$Notice.error({ title: '获取人员信息失败', desc: res.data.data.msg })
            return
          }
          let flag = this.ruleData !== ('' || undefined)
          this.formItem.itemInfoForm.aac001 = flag ? this.ruleData.aac001 : 0 // 主键
          this.formItem.itemInfoForm.aac003 = flag ? this.ruleData.aac003 : this.personinfo.name // 姓名
          this.formItem.itemInfoForm.aac002 = flag ? this.ruleData.aac002 : this.$route.params.cardno // 身份证
          this.formItem.itemInfoForm.aac004 = flag ? this.ruleData.aac004 : (this.$route.params.cardno.substr(16, 1) % 2 === 1 ? '1' : '2')
          this.formItem.itemInfoForm.aac005 = flag ? this.ruleData.aac005 : '' // 民族
          this.formItem.itemInfoForm.aac006 = (this.$route.params.cardno.substr(6, 4) + '-' + this.$route.params.cardno.substr(10, 2) + '-' + this.$route.params.cardno.substr(12, 2)) // 出生日期
          this.formItem.itemInfoForm.age = this.getAge(this.$route.params.cardno) // 年龄
          this.formItem.itemInfoForm.aac007 = flag ? this.ruleData.aac007 : '' // 籍贯
          this.formItem.itemInfoForm.aac009 = flag ? this.ruleData.aac009 : '' // 户口性质
          this.formItem.itemInfoForm.aaa120 = flag ? this.ruleData.aaa120 : '' // 所在地区
          this.formItem.itemInfoForm.aaa121 = flag ? this.ruleData.aaa121 : '' // 所在地区码
          this.formItem.itemInfoForm.aac01d = flag ? this.ruleData.aac01d : this.personinfo.mobile // 移动电话
          this.formItem.itemInfoForm.adc013 = flag ? this.ruleData.adc013 : '' // 残疾类别
          this.formItem.itemInfoForm.adc015 = flag ? this.ruleData.adc015 : '' // 残疾等级
          this.formItem.itemInfoForm.adc016 = flag ? this.ruleData.adc016 : '' // 残疾证号
          this.formItem.itemInfoForm.aac019 = flag ? this.ruleData.aac019 : this.personinfo.domicile_address // 户籍地址
          this.formItem.itemInfoForm.aac01a = flag ? this.ruleData.aac01a : this.personinfo.address // 现住址
          this.formItem.itemInfoForm.aac01b = flag ? this.ruleData.aac01b : '' // 邮政编码
          this.formItem.itemInfoForm.aac01c = flag ? this.ruleData.aac01c : '' // 固定电话
          this.formItem.itemInfoForm.aac01d = flag ? this.ruleData.aac01d : this.personinfo.mobile // 移动电话
        } else {
          this.$Notice.error({ title: '申请失败', desc: res.data.errmsg })
        }
      })
    },
    // 社区统计下拉搜索框的级联查询
    bb () {
      this.sectionListb = []
      let param = { id: this.formDate.qxId }
      getMailLevelList(param).then(res => {
        if (res.data.errcode === 0) {
          this.sectionListb = res.data.data
          console.log(this.sectionListb)
        } else {
          this.$Notice.error({ title: '失败', desc: res.data.errmsg })
        }
      })
    },
    cc () {
      this.sectionListc = []
      let param = { id: this.formDate.jdId }
      getMailLevelList(param).then(res => {
        if (res.data.errcode === 0) {
          this.sectionListc = res.data.data
        } else {
          this.$Notice.error({ title: '失败', desc: res.data.errmsg })
        }
      })
    },
    getPermanentAddress () {
      this.sectionList = []
      getMailLevelList().then(res => {
        if (res.data.errcode === 0) {
          this.sectionList = res.data.data
          console.log(this.sectionList)
        } else {
          this.$Notice.error({ title: '失败', desc: res.data.errmsg })
        }
      })
    },
    getValidateRulesCode () {
      let q = { company_code: this.formDate.company_code }
      getSQCodeFc(q).then(res => {
        if (res.data.errcode === 0) {
          this.formItem.itemInfoForm.aaa121 = res.data.data.qu + res.data.data.jiedao + res.data.data.shequ // 所在地区
          this.formItem.itemInfoForm.aaa120 = res.data.data.shequ_code // 所在地区码
        } else {
          this.$Notice.error({ title: '失败', desc: res.data.errmsg })
        }
      })
    },
    getDisabledInfo () { // 查询残疾殡葬前置信息
      var param1 = {
        'method': 'getQSTBCardInfo',
        'disabled_data': {
          'item_id': this.$route.params.itemid,
          'cardno': this.$route.params.cardno
        },
        'accountid': 'qstb'
      }
      createDisabilityApi(param1).then(ret => {
        if (ret.data.errcode === 0) {
          // if (!ret.data.data.data.getFuneralInfoMap.hhsj) {
          //   this.funeralPersonnelFlag = 'false'
          // } else {
          //   this.funeralPersonnelFlag = 'true'
          // }

          if (ret.data.data.data.findCanlianMap.length !== 0) {
            this.disabledLevel = ret.data.data.data.findCanlianMap[0].DISABLED_LEVEL
            console.log(this.disabledLevel, '残疾等级')
            this.disabledPerson = ret.data.data.data.findCanlianMap[0].DISABLED_TYPE_NAME
            this.DISABLED_NUMBER = ret.data.data.data.findCanlianMap[0].DISABLED_NUMBER
            this.CJR_ALLOCATION_ID_NAME = ret.data.data.data.findCanlianMap[0].CJR_ALLOCATION_ID_NAME
            this.FIRST_TIME = ret.data.data.data.findCanlianMap[0].FIRST_TIME
          } else {
            this.disabledLevel = ''
            this.disabledPerson = '非残疾人'
          }
          return
        }
        this.$Modal.error({
          title: '获取残疾人残疾信息失败',
          content: ret.data.errmsg,
          onOk: () => {
          }
        })
      })
    },
    formatLowSubsidies (val) {
      return val === '1010' ? '低保残疾人' : val === '1020' ? '低收入家庭残疾人' : val === '1030' ? '低保残疾人' : val === '1040' ? '低收入家庭残疾人' : val === '9999' ? '非保障对象' : val === '1050' ? '低保残疾人' : val === '1060' ? '低保残疾人' : val === '1070' ? '低保残疾人' : val === '1080' ? '低保残疾人' : val === '1090' ? '低保残疾人' : val === '0000' ? '低保停救对象' : ''
    },
    saveResident () {
      this.$refs.resident.test()
      return true
    },
    yesOk () {
      this.formItem.showInsuredRegister = false
    },
    getIdCard () {
      this.interval = setInterval(this.getDeviceCardInfo, 2000)
    },
    goonTodo () {
      this.cardDeviceFlag = false
      clearInterval(this.interval)
    },
    getDeviceCardInfo () {
      // console.log('ddd')
      this.$refs.wlEquipment1.readIdCard()
    }
  },
  mounted () {
    let currentUrl = window.location.href
    if ((currentUrl.indexOf('localhost') !== -1) || (currentUrl.indexOf('http://iview') !== -1)) {
      // this.getIdCard()
    }
    // this.getIdCard()
    this.disabledAuxiliaryInfo = this.$route.params
    this.severUserInfo = this.$store.state.user.severUserInfo
    this.formItem.operation = this.$route.params.operation === '1'
    this.formItem.next_step = false
    this.buttonState = this.$route.params.state
    console.log(this.formItem.next_step, '~~~~~')
    console.log(this.$route.params.state, '~~~~~1111')
    let param = {
      'cardno': this.$route.params.cardno,
      'id': this.$route.params.itemid,
      'code': this.$route.params.code,
      'params': '1'
    }

    this.subsidies = this.$route.params.subsidies

    if (this.subsidies === '' || this.subsidies === undefined) {
      createDisabilityApi({
        method: 'getAllowancesInfo',
        disabled_data: {
          'item_id': this.$route.params.itemid,
          'cardno': this.$route.params.cardno,
          'Name': this.personinfo.name
        },
        accountid: 'qstb'
      }).then(ret => {
        if (ret.data.errcode === 0) {
          this.subsidies = this.formatLowSubsidies(ret.data.data.data.data.type)
        }
      })
    }
    this.cardno = param.cardno
    this.getuserinfo(param.cardno)
    this.getPermanentAddress()
    iteminf(param).then(res => {
      if (res.data.data) {
        this.form_url = res.data.data.form_url
        this.itemData = res.data.data
        this.documentlist = res.data.data.documentlist
        this.documentlist.forEach(element => {
          element.necessary_name = element.necessary === '1' ? '必填' : '非必填'
          element.is_submit = '未提交'
          if (element.write_type === 'images') {
            element.type_name = '图片要件'
            if (element.img_url) {
              element.img_urls = element.img_url.split(',')
              element.is_submit = '已提交'
            }
          } else if (element.write_type === 'form') {
            element.type_name = '表单'
            if (element.write_type === 'form' && element.formdata) {
              this.formItem.itemInfoForm = element.formdata
              element.is_submit = '已提交'
            } else if (this.itemData.form_params) {
              element.is_submit = '已提交'
            }
          }
        })
      }
    })
    this.getDisabledInfo()
    this.nophoto = this.personinfo.nophoto // 申请人头像
  }
}
</script>
